VictoryAirPilot Posted October 15, 2009 Report Share Posted October 15, 2009 Im attempting this for the first time...sorry if this is a common or simple question. I have started the skinning using a template i found, so far so good, until the navigation. The navigation looks fine on the site, but its not active. How do I activate it? Is this code wrong? <li><a href="<?php echo SITE_URL ?>/index.php/Frontpage">home</a></li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo SITE_URL ?>/index.php/login/">Login</a></li> <li><a href="<?php echo SITE_URL ?>/index.php/registration">Register</a></li> <?php } else Not sure what else to do...can anyone check my site and give me some advice? www.civilvirtualairtransport.com Thanks Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 15, 2009 Administrators Report Share Posted October 15, 2009 Just went to your site and the nav bar seems to be working the login and register links are there and seem to work.... the code looks correct as well. When you say "activate them" do you mean that they are not showing at all? If you are logged into the site they will not show since they are inside of the php if statement that will not display them if the user is logged in. btw - Nice start on your site Quote Link to comment Share on other sites More sharing options...
VictoryAirPilot Posted October 15, 2009 Author Report Share Posted October 15, 2009 I have been logged on to my admin site during construction. So if I log out it and go back to the site it should work? Quote Link to comment Share on other sites More sharing options...
VictoryAirPilot Posted October 15, 2009 Author Report Share Posted October 15, 2009 Okay just realized something...when i use Internet Explorer, the nav links work. But the template does not look like it is supposed to (pics in the wrong location, text missing). When I use Firefox, the template looks great as it is supposed to, everything is in the right places, but the nav links don't work??? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted October 15, 2009 Administrators Report Share Posted October 15, 2009 Sounds like you have some issues with the css and how it is being applied to the skin. Which ie are you using? If it is ie8, try hitting the compatibility button and see if it fixes the site. With ff It sounds like you must have a html tag open ended somewhere that is causing issues, which is probably what is happening to ie as well, it is just interpeting it differently. You can try switching to the crystal skin and see if everything works to prove it is not another issue but I think it is in your skin file. Quote Link to comment Share on other sites More sharing options...
VictoryAirPilot Posted October 15, 2009 Author Report Share Posted October 15, 2009 switched to the crystal skin....it works in both IE and FF, but IE shows stuff on the right, where FF shows it on the left. Where should I look in the skin? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 15, 2009 Administrators Report Share Posted October 15, 2009 Could be a float problem. Welcome to development with IE A good way is to Google search a specific problem you're having as well, you might find some CSS fixes Quote Link to comment Share on other sites More sharing options...
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.