NetTalk Central

Author Topic: Hide a menu option  (Read 3446 times)

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Hide a menu option
« on: January 23, 2015, 08:53:02 AM »
Hi All,

I want o conditionally hide a menu option.  I know I can do this with levels and do, but this one is going to look at a session variable and then not show if possible.

Thanks.
Brian

MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: Hide a menu option
« Reply #1 on: January 23, 2015, 08:11:53 PM »
See image attached

in the settings for the menu item there is a condition field, that will allow you to enter your variable, in the image I have hidden the menu item "Category Course" by putting in the condition 2>3   which is not true even for very large values of two, so the menu item does not show.

K

[attachment deleted by admin]

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Hide a menu option
« Reply #2 on: January 24, 2015, 10:44:42 AM »
Thanks
Brian