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: 124
Joined: Thu Dec 14, 2017 5:08 pm
Contact:

Conditional menu option

Post by Magical » Thu Jan 18, 2018 4:34 pm

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: 13564
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Conditional menu option

Post by Pablo » Thu Jan 18, 2018 5:02 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests