Drop down menu

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

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

Sorry, I meant a multi-level menu like this http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

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

Well it’ll be the same way, you just have to enclose the sections by those if-statements

Yeah thats it. But within the drop downs have content that only shows to admin/logged in people.

many thanks,

roboa

Ok, cheers Nabeel and nexiss

roboa

Once again, many thanks its working perfectly