Kalo Posted December 2, 2012 Report Share Posted December 2, 2012 hello, for some reason "Route Map" has shown up twice on my home page if you are not logged in. Once you log in it only shows up once. In my core_navigation file I only have it shown once so I am not sure why it is displaying twice. Is there somewhere else besides core_navigation that can control this? http://pilots.msflights.net/ Thanks! here is my core_navigation.tpl on pastbin.com: http://pastebin.com/waJvFrpV Quote Link to comment Share on other sites More sharing options...
Keane Posted December 2, 2012 Report Share Posted December 2, 2012 You could try the following, change: <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/routemap">Route Map</a></li> to say: <li><a href="<?php echo url[color=#282828][font=helvetica, arial, sans-serif]('/pages/routemap') ?>">[/font][/color]Route Map</a></li> if this doesn't work remove: <li><a href="http://www.msflights.net/pilots/phpvms/index.php/pages/routemap">Route Map</a></li> completely from your core_navigation.tpl Quote Link to comment Share on other sites More sharing options...
Kalo Posted February 13, 2013 Author Report Share Posted February 13, 2013 this is rather peculiar. Keane, thanks for your response, the first option edit did not work, so if I delete that line from my core_navigation.tpl, the duplicate "Route Map" disappears. The only thing is, I want to add a drop down menu to my Route Map tab, so I have to keep that line in my core_navigation.tpl. This begs the question then, where is the extra Route Map link coming from if it's not anywhere in my core_navigation.tpl? Can anyone suggest where this extra "Route Map" item might be coming from? If you look at http://pilots.msflights.net/ I want to keep the "Route Map" with the drop down list (get rid of the one on the far right). This has me perplexed because I have looked all around and can't find a reference to this extra item anywhere. If you would like to look at my core_navigation.tpl here it is on pastebin: http://pastebin.com/waJvFrpV Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 15, 2013 Administrators Report Share Posted February 15, 2013 The system automatically builds a link for each page you create in the system and injects it into the navigation template using the line <?php echo $MODULE_NAV_INC;?> You can remove that line and manually link the pages as you would like without ny problems with the system, just in the future when you create a page you will have to manually add the link to your site. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted February 15, 2013 Moderators Report Share Posted February 15, 2013 you will need to remove the check box at the bottom of your created page where it says "Enabled?" and check the one that says "Public?" in admin center pages. Now I think you have the page published and in navigation.tpl you can link to it using drop down. Quote Link to comment Share on other sites More sharing options...
Kalo Posted February 15, 2013 Author Report Share Posted February 15, 2013 thanks parkho! such an easy solution, you have helped me countless times, thanks! Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted February 15, 2013 Moderators Report Share Posted February 15, 2013 yw. Glad it helped. Please mark your post as solved. 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.