MyBB Community Forums

Full Version: Nav bar messed up?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I tried to delete calender link from my nav bar and I removed that line and deleted calender.php including disabling it but there is still link there.. I tried to add my own link there ( yes, i typed correctly ) but it wont show up there. I reseted whole template but it didn't help.

This is how my header template looks like:

<div id="container">
		<a name="top" id="top"></a>
		<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>
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
					<li><a href="{$mybb->settings['bburl']}/forms.php"><img src="{$theme['imgdir']}/toplinks/app.png" alt="" title="" />{$lang->toplinks_apps}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}<!-- ProfileComments -->
			{$comments_alert}<!-- /ProfileComments -->
			{$pending_joinrequests}
			<navigation>
			<br />

Are you sure that you are editing the navbar template for the theme that you are using as default?

It would help if you posted the link to your forum so we could check it as well.
(2012-11-04, 03:02 PM)borbole Wrote: [ -> ]Are you sure that you are editing the navbar template for the theme that you are using as default?

It would help if you posted the link to your forum so we could check it as well.

Well I got two templates, one is default template and the second one is Master Style. When I go to admincp>templates I see only global templates and default. I see no Master Style, I thought it was just how it is. Master Style theme is only .css edit. It's not an actual .xml file so what should I do to add that theme?
Is this the one which dont show up.

<li><a href="{$mybb->settings['bburl']}/forms.php"><img src="{$theme['imgdir']}/toplinks/app.png" alt="" title="" />{$lang->toplinks_apps}</a></li>

If yes then change {$lang->toplinks_apps} to the name of the page.

Example:
<li><a href="{$mybb->settings['bburl']}/forms.php"><img src="{$theme['imgdir']}/toplinks/app.png" alt="" title="" />Apps</a></li>
(2012-11-04, 04:22 PM)mmadhankumar Wrote: [ -> ]Is this the one which dont show up.

<li><a href="{$mybb->settings['bburl']}/forms.php"><img src="{$theme['imgdir']}/toplinks/app.png" alt="" title="" />{$lang->toplinks_apps}</a></li>

If yes then change {$lang->toplinks_apps} to the name of the page.

Example:
<li><a href="{$mybb->settings['bburl']}/forms.php"><img src="{$theme['imgdir']}/toplinks/app.png" alt="" title="" />Apps</a></li>
This is what you need to do and you need to also make sure that there's a file called forms.php on your sites root.