-
Copy the core.js file from its default location at %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\1033, place it in the same folder, and rename as customcore.js file.
-
Make the necessary changes in the customcore.js file by removing unwanted ECB menu items.
-
To create the custom master page, make a copy of the default.master page and rename it as custom.master.
-
In the custom master page, add the following line to render the customcore.js file:
<SharePoint:ScriptLink language="javascript" name="core.js" Defer="true" runat="server"/><SharePoint:ScriptLink language="javascript" name="customcore.js" Defer="true" runat="server"/>
-
Save the custom.master page and upload it to the master pages gallery of the site. Then apply the custom.master page as the default master page for the site.
15.11.11
Hiding Menu Item
Subscribe to:
Post Comments (Atom)
comment ok
ReplyDelete