Jump to content

[SOLVED] one item has show up twice in my navigation bar?


Recommended Posts

Posted

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

  • 2 months later...
Posted

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!

  • Administrators
Posted

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.

  • Moderators
Posted

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.

;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.

Loading...
×
×
  • Create New...