Sunday, March 23, 2014

Overriding Top Navigation Menu for SharePoint System Pages

We used custom navigation but this custom navigation not inheriting for sharepoint system pages like viewlsts.aspx. Our requirement is to inherit custom global navigation to those pages also.

1. Open the master page using sharepoint designer and rename the PlaceHolderTopNavBar to PlaceHolderTopNavBarActual or some name.
2. follow the same thing for PlaceHolderHorizontalNav also
3. Add the content which marked in red color.


<div class="s4-lp s4-toplinks">
<div style="display:none">
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server"></asp:ContentPlaceHolder>
<asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server"></asp:ContentPlaceHolder>
</div>
<asp:ContentPlaceHolder id="PlaceHolderTopNavBarActual" runat="server">
<h2 class="ms-hidden" style="width: 14px; height: 14px">
<SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,topnav_pagetitle%>" EncodeMethod="HtmlEncode"/></h2>
<asp:ContentPlaceHolder id="PlaceHolderHorizontalNavActual" runat="server">



Referernces:

http://social.technet.microsoft.com/Forums/sharepoint/en-US/7bc02cd0-e8d4-4b27-9d29-979f2e699055/2-dynamic-display-level-on-global-navigation-does-not-work-on-all-pages

http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ae92b410-8796-4b45-95af-a2861a4454ad/topnavigation-bar-for-application-pages

http://adventuresindeveloping.blogspot.sg/2011/04/overriding-top-navigation-menu-for.html

Image noise comparison methods

 1. using reference image technique     - peak_signal_noise_ratio (PSNR)     - SSI 2. non-reference image technique     - BRISQUE python pac...