Jump to content

Recommended Posts

Posted

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

  • Administrators
Posted

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

Posted

I think I know what you mean take a look here www.nexissair.co.uk

if you want more details just shout and I will send you a copy of my core nave tpl to give you an idea of how to do it

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...