Jump to content

Drop down menu


roboa

Recommended Posts

Well, if I am using a drop down menu how to arrange that within the core_navigation.tpl ? For example I may have a link to the pilot center droping down from "operations" but how do I show that only to logged in people? And also the logout and admin, where do I put my links for those in the core navigation as they also drop down from "operations"?

many thanks,

roboa

Link to comment
Share on other sites

  • Administrators

Inside your select, if you look at the default you see this:

<?php if(Auth::LoggedIn()) { ?>

  <option value="...">Log out</option>

<?php } ?>

Then there's code there which also checks for an admin group member

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...