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 9 of 9

Thread: Removing "departments" from main menus

  1. #1
    webmac is offline Junior Member
    Join Date
    Feb 2010
    Posts
    16

    Default Removing "departments" from main menus

    I am wanting to remove the "department" section from both the main and left menu. I cannot locate where to do this. Can anyone advise.
    Thank you.

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Remove
    Code:
    <item Text="(!menu.Sections!)" LookId="TopItemLook" />
    from the skins/skin_#/menuData.xml file and remove
    Code:
    <div class="navHeader">Browse (!StringResource Name="AppConfig.SectionPromptPlural"!)</div>
    <div class="leftNav" id="departments">(!XmlPackage Name="rev.departments"!)</div>
    from the skins/skin_#/template.ascx file.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    webmac is offline Junior Member
    Join Date
    Feb 2010
    Posts
    16

    Default

    Thank you!!

  4. #4
    addymark is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Default

    thanks for posting here, i was searching for this one and its i have found that here.
    Thanks again.

    Have a good day.

  5. #5
    addymark is offline Junior Member
    Join Date
    Feb 2010
    Posts
    4

    Default

    Thanks for post here.
    Actually i was having need of this code, for my trouble solution of .net.

    Thanks again.

    Have a good day.

  6. #6
    kblake@mainstreet is offline Junior Member
    Join Date
    Sep 2008
    Posts
    29

    Default

    I was wondering how to do this for the menu for version 9, it seems like all of them are no grouped together except "Home" which is the only 1 that pertains to aspnetMenu_StaticSelectedStyle. So yea if we could do this for version 9 it was be awesome

  7. #7
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    You can do that, open {root}/XMLPAckage/page.menu.xml.config file and comment out the corresponding menu there.

  8. #8
    Ken is offline Junior Member
    Join Date
    Feb 2009
    Location
    CA
    Posts
    4

    Default

    What if I want to just remove the word "Browse", in V9. I can't find it anymore.
    Thanks.

  9. #9
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    Unfortunately, in version 9 that's hard-coded into the EntityControl code. That's something we've already asked the devs to change in the next release, but for the meantime removing or localizing that would require a code mod.