Hello
I am using a php code to check if the user is logged in or not. Depending on the result, I need to hide / show buttons. However I am not able to do this in the items of ThemeableMenu because they have no id.
Is there a way to add id's to ThemeableMenu items? I recommend if you do not have to add this function in the menu items as it makes it very easy to hide / show individually.
Add id '' to ThemeableMenu items?
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
- Pablo
- Posts: 23750
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Add id '' to ThemeableMenu items?
I'm sorry, there is no standard option to add ID's to menu items.
This will require a custom script.
This will require a custom script.
- semua
-
- Posts: 37
- Joined: Fri Jan 20, 2017 2:28 am
Re: Add id '' to ThemeableMenu items?
Okay, I appreciate the quick response. I will use alternative means then. Perhaps this function could be implemented in a new version.Pablo wrote: Sun Feb 28, 2021 9:15 pm I'm sorry, there is no standard option to add ID's to menu items.
This will require a custom script.
- Pablo
- Posts: 23750
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Add id '' to ThemeableMenu items?
I am not sure it this will be useful for a lot of users.
But you can this in the ''Suggestions' section. If more users find this useful then I will consider it for future development.
But you can this in the ''Suggestions' section. If more users find this useful then I will consider it for future development.