MyBB Community Forums

Full Version: Header Coding Issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When editing my Header where the Links for Index, Members, Help, and etc is located every time I seem to remove something the links to do not appear there the coding is correct I believe from seeing in the Templates > Personal Templates > Headers > header I took this code snippet out to show you all where the error seems to be coming from.

If anyone can figure out this issue please reply with the correct coding format. I would rather much appreciate any help given.

Navigation Bar Coding.
<div id="container">			
			<div class="menu">
				<ul>  
					<li><a href="{$mybb->settings['bburl']}/index.php">{$lang->toplinks_Index}</a></li> |
					<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li> |
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li> |
                                        <li><a href="{$mybb->settings['bburl']}/donate.php">{$lang->toplinks_Donate}</a></li>
				</ul>
			</div>

The links that I have Errors with that are not showing are Index and Donate Links. The pages work fine but it will not show these links on the navigation bar.

Complete header Code.
<a name="top" id="top"></a>
                                                                                                                                                                                                                  <center>		<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a><div id="panel">
				{$welcomeblock}
			</div></div>		</div>
</center>
<div id="container">			
			<div class="menu">
				<ul>  
					<li><a href="{$mybb->settings['bburl']}/index.php">{$lang->toplinks_Index}</a></li> |
					<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li> |
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li> |
                                        <li><a href="{$mybb->settings['bburl']}/donate.php">{$lang->toplinks_Donate}</a></li>
				</ul>
			</div>
			<hr class="hidden" />

		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
 {$headerannounce}
			{$pending_joinrequests}
			<navigation>
			<br />
{$lang->toplinks_Index} AND {$lang->toplinks_Donate} might not exist ; replace them with Home & Donate
Figured out the issue, In the FTP There are files in a folder named Top_Links there wasn't a file for Donate or Index.

Thanks Ranjani.