Odpovědět 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