Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Remove specific category from horizontal menu

  1. #1
    Krux is offline Junior Member
    Join Date
    Dec 2008
    Posts
    23

    Default Remove specific category from horizontal menu

    I have created a new products category and modified the horizontal to have a root link to that category. I would like to make is so this category does not appear in my horizontal menu, yet the remainder of my categories appear in the drop down as intended.

    Please provide advice or at least location where I can make some sort of conditional statement to ensure the desired category does not appear.

    Thank you

  2. #2
    Krux is offline Junior Member
    Join Date
    Dec 2008
    Posts
    23

    Default New Product Category

    So I wanted to create a NEW PRODUCTS category and have it as a root menu item on my horizontal menu bar and remove any reference to it on my categories list.

    Alright after a bit of poking around and creating my root menu item called "What's New", I found that I could remove specific menu item from my horizontal menu bar by adding a conditional statement wrapped around the template that creates the menu items called EntityMenuList.xslt.

    Code:
        <xsl:if test="$eName != 'New Products'">
    	<item>
                              ...
                              ...
                              ...
    	</item>
        </xsl:if>
    Not sure if this is the right approach, but it works…so I thought I would share.