Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Hide the Modify Navigation Custom Action

  Asked By: Luz    Date: Jan 03    Category: Sharepoint    Views: 2318

I would like to hide the Modify Navigation menu item in the Site Actions menu for my publishing site

I have tried the following with no avail...
Creating a feature with:


<HideCustomAction
Id="AreaNavigationSettings"
GroupId="Customization"
Location="Microsoft.SharePoint.SiteSettings">
</HideCustomAction>
Modifying the CustomSiteAction.xml file in Sharepoint designer under masterpage/editing menu

<?xml version="1.0" encoding="utf-8" ?>
<Console>
<references>
<reference TagPrefix="cms" assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions" />
</references>
<structure>
<ConsoleNode ConfigMenu="Delete" ChangedNodeID="wsaModifyNavigation" />
</structure>
</Console>

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Constance Guerrero     Answered On: Jan 03

HideCustomAction it only works on a few places, such as those listed in this MSDN article:
msdn2.microsoft.com/en-us/library/bb802730.aspx

So that tends to lead to JavaScript tricks either in a Content Editor Web Part (one page at a time), in a Feature (one site  or site collection at a time) or imbeded in a master page.

See here for an example:
techtrainingnotes.blogspot.com/.../...t-using.html

It does not have your exact item, but should give you a start in the right direction.

 
Didn't find what you were looking for? Find more on Hide the Modify Navigation Custom Action Or get search suggestion and latest updates.




Tagged: