Announcement

Collapse
No announcement yet.

Hiding a section in the navigation menu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hiding a section in the navigation menu

    Hi everyone.

    Can someone advise me on how to hide a particular product section on the menu on the left.

    Basically we want to add a special promotion and only give direct links in an email promotion that we send out, so the general public cannot get access to this unless they know the exact url.

    any help much appreciated.
    Many thanks

    #2
    Add a new "section" level variable like "display_in_sidebar" set to true/false, default to true, but set your "hidden" section to false.

    Then, in the layout, where it displays the section link, wrap it with a condition that tests if "display_in_sidebar" is true.
    The Patchwork Rabbit

    Comment

    Working...
    X