Announcement

Collapse
No announcement yet.

[SOLVED]How to re enable menu items?

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

  • juansapr
    started a topic [SOLVED]How to re enable menu items?

    [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.

  • iosson
    replied
    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...

    Leave a comment:


  • juansapr
    replied
    Thank you Carlos, it worked fine.

    Leave a comment:


  • Carlos Eduardo
    replied
    You can use the macro sc_reset_menu_disable().

    Leave a comment:

Working...
X