Conditional menu option

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
Magical
 
 
Posts: 111
Joined: Thu Dec 14, 2017 5:08 pm
Contact:

Conditional menu option

Post by Magical »

Greetings,

Looking for a technique to condition a menu on the master frame. I have my menu on the master frame so the same menu is displayed across all pages. I would like to condition the menu option for 'Login' to only display if the user is not logged in. Once the user logs in then the menu option 'Log out' should display.

Any thoughts on doing this with the standard CSS menu?
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Conditional menu option

Post by Pablo »

There is no standard option for this, this will require custom code.
Post Reply