Page > Properties > Navigation - Uncheck - SHOW IN NAVIGATION - Not working

Jonathan B asked on December 6, 2014 07:12

Understandably if you've got a hard coded menu item that links to a page within your CMS - attempting to "uncheck" SHOW IN NAVIGATION won't hide the menu for obvious reasons.

I do have a dynamic menu that I call within my Base.Master file using this method: <cms:CMSListMenu ID="PrimaryNavMenu" runat="server" Visible="true" ItemIdPrefix="subnav-menu" MaxRelativeLevel="4" HighlightAllItemsInPath="True"
CSSPrefix = "subnav-level1__;subnav-level2__;subnav-level3__;subnav-level4__" RenderCssClasses="True" DisplayHighlightedItemAsLink="True"

Anything displayed within that menu - can be SHOW or HIDDEN using the page properties SHOW IN NAVIGATION feature.

Recently I had a developer move a menu item that I had been displaying through the CMSListMenu to a static menu. It appears he did not build it out using HTML. Instead he simply added this:

  • By doing so - it allowed my "Info" menu to be displayed with all of the sub-menu items just as it was when it appeared under the CMSListMenu. Now the only different is ALL of the pages are showing - and I've got some set to be hidden.

    Does anyone know why it's ignoring the set properties in navigation? Am I missing a tag in this line:

  • Recent Answers

    Jonathan B answered on December 6, 2014 07:15

    Here is what was added - I was unable to post this in the initial write-up.

    <li class="global-utility-nav__list-item has-dropdown" id="infoMenuItem" runat="server"></li>
    0 votesVote for this answer Mark as a Correct answer

    Jan Hermann answered on December 8, 2014 08:09

    0 votesVote for this answer Mark as a Correct answer

       Please, sign in to be able to submit a new answer.