MyBB Community Forums

Full Version: [solved]Editing header links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to edit the header links (where it says search, help, member list, etc) and I am trying to add another link. I want to add one that says home that brings me to my site's homepage. First I edited the header to look like this
<li><a href="{$mybb->settings['bburl']}/misc.php?page=Home">{$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>					
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>					
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>					
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
and that worked but then I realized that the link to my homepage said "help", so I had two "helps", although one of the went to my homepage. So I changed it to look like this:

<li><a href="{$mybb->settings['bburl']}/misc.php?page=Home">{$lang->toplinks_home}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>					
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>				
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>					
<li><a href={$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>

When I did that it didn't show up, so all you could see is Search, memberlist, help, and calender. I'm stumped. Here is my website: http://mlufanclub.netii.net/index.php
my homepage's address is: http://mlufanclub.netii.net/misc.php?page=Home
<li><a href="http://mlufanclub.netii.net/misc.php?page=Home">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>                    
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>                
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>                    
<li><a href={$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>

Try That.
Use this;

<li><a href="{$mybb->settings['bburl']}/misc.php?page=Home">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>                    
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>                    
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>                    
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>

EDIT: Too late.
{$lang->toplinks_home} that does not exist so, there is no toplinks_home

So change it to this:

<li><a href="{$mybb->settings['bburl']}/misc.php?page=Home">Homepage</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>                    
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>                
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>                    
<li><a href={$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>

@YoshiOlly beat me to it Smile
worked perfectly guys. thanks!