Hide Page Tab in Search Center
-
23. května 2012 9:50
I have a site collection with all based on the enterprise wiki template. I have a web part where i hide parts of the Ribbon by using:
ribbon.TrimById("Ribbon.WikiPageTab"); (this will hide the "Page" tab on all my enterprise wiki pages).
I have a search site also, but this is not based on the enterprise wiki template, so "ribbon.TrimById("Ribbon.WikiPageTab");" will not hide the "Page tab" of course.
I have looked in the CMDUI.XML and found nothing that would suggest to be the "Page" tab for a basic search site.
Any one knows how to hide the "Page" tab on a Basic Search Center ? pls hlp.
Všechny reakce
-
24. května 2012 2:50
Hi,
You can refer to the following articles:
http://stackoverflow.com/questions/5901454/hide-the-page-button-on-sharepoint
And if you don't need any ribbon, you can select Hide ribbon from Site Actions menu.
Thanks
Pengyu Zhao
TechNet Community Support
- Upravený Pengyu Zhao 24. května 2012 2:55
- Označen jako odpověď Pengyu Zhao 1. června 2012 8:33