Announcement

Collapse
No announcement yet.

[SOLVED]How to re enable menu items?

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

  • [SOLVED]How to re enable menu items?

    Hi

    I have a project where I create a menu, but some of the items of the menu I don't want to show to some users that belong to some groups. For that reason, I enable the "Hide menu items" and on the events options and onLoad option I disable the menu item. The issue is that as soon I disable the item I don't know how to enabled it again . Does anyone know how to enabled the item again?

    By the way I am using "sc_menu_disable (item_9);" macro.

    Thank you in advance.

  • #2
    You can use the macro sc_reset_menu_disable().

    Comment


    • #3
      Thank you Carlos, it worked fine.

      Comment


      • #4
        Can this be added to the documentation? It isn't featured in the macro help and would be nice to know it existed rather than waste 30 minutes puzzling over what to do...

        Comment

        Working...
        X