OmerAslan Posted May 25, 2016 Report Posted May 25, 2016 Ok my friend. I understand now. Thanks. Quote
Moderators shakamonkey88 Posted August 22, 2016 Moderators Report Posted August 22, 2016 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? <?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> <li><a href="<?php echo url('/faq'); ?>">FAQ</a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/'); ?>">Operations</a> <ul> <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> </ul> </li> <?php Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.