Jump to content

Lamb

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Lamb

  1. Thanks, But it is now sorted.

    This is not quite correct:

    Then add a link in your /core/templates/core_navigation.tpl file:

    <li><a href="http://your website address.com/index.php/fleet">Fleet</a></li>

    What you have to do is it change the core_navigation.tpl file in the skin that you are using as this overrides the one in core/templates.

    Thanks to all that helped!

  2. Then add a link in your /core/templates/core_navigation.tpl file:

    <li><a href="http://your website address.com/index.php/fleet">Fleet</a></li>

    Thanks for the above. I have added it to my core_navigation.tpl file but on refreshing the page still see nothing. Something else is missing, the code is correct as when I c&p the href into a browser, up pops the table.

    Is the contents cached somewhere, or is there a local version of this file somewhere? I just cant work out why the line of code is being ignored.

    As the file is small I have added it below:

    <li><a href="<?php echo url('/'); ?>">home</a></li>
    <?php
    if(!Auth::LoggedIn())
    {
    // Show these if they haven't logged in yet
    ?>
    <li><a href="<?php echo url('/login'); ?>">Login</a></li>
    <li><a href="<?php echo url('/registration'); ?>">Register</a></li>
    <?php
    }
    else
    {
    // Show these items only if they are logged in
    ?>
    <li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li> 
    <?php
    }
    ?>
    <li><a href="<?php echo url('/fleet'); ?>">Fleet</a></li>
    <li><a href="<?php echo url('/pilots'); ?>">Pilots</a></li>
    <li><a href="<?php echo url('/acars'); ?>">Live Map</a></li>
    <?php echo $MODULE_NAV_INC;?>
    <?php
    if(Auth::LoggedIn())
    {
    if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
    {
    	echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>';
    }
    ?>
    
    
    <li><a href="<?php echo url('/logout'); ?>">Log Out</a></li>
    <?php
    }
    ?>

×
×
  • Create New...