Jump to content

Frequently Asked Questions v1


Recommended Posts

  • 2 months later...
  • Moderators

Wondering if you can help. I have succesfully installed this and have added it to my top bar under the part to show when users are not logged in. However, when you click it, it takes you to the right page but says "

You must be logged in to access this feature!"

Any ideas?

// 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>
<li><a href="<?php echo url('/faq'); ?>">FAQ</a></li>
// Show these items only if they are logged in
<li><a href="<?php echo url('/'); ?>">Operations</a>
				 <li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li>
				 <li><a href="<?php echo url('/pilots'); ?>">Pilots</a></li>
	 <li><a href="<?php echo url('/acars') ?>">Live Map</a></li>

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.

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.

  • Create New...