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.
24. května 2012 2:50
You can refer to the following articles:
And if you don't need any ribbon, you can select Hide ribbon from Site Actions menu.
TechNet Community Support