This topic is locked
[SOLVED]

 Hide Common Page item on login

12/12/2019 08:36:03
PHPRunner General questions
L
LandonH author

phprunner 10.2
I need to hide a menu item on the common page menu.
I am using $menuItem modify event and it works on the title bar menu item but not the common page items.
Can this be accomplished.
I cannot figure how to add an attachment to this topic.
Thanks

Landon

Sergey Kornilov admin 12/12/2019

MenuItemModify event only applies to the actual menu. To hide items on the welcome page use hideItem() API:

https://xlinesoft.com/phprunner/docs/hideitem.htm
To find Item ID of any element on any page proceed to Page Designer, select this element and see its ID under "Item ID" on the right-side panel.

L
LandonH author 12/13/2019



MenuItemModify event only applies to the actual menu. To hide items on the welcome page use hideItem() API:

https://xlinesoft.com/phprunner/docs/hideitem.htm
To find Item ID of any element on any page proceed to Page Designer, select this element and see its ID under "Item ID" on the right-side panel.

L
LandonH author 12/13/2019





Wow:
I was already using the hideitem() to hide the group but never looked at the item in the group.

I 'ASSUMED' the group would handle it all.

Thanks for helping the Bling See .
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=89608&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />