Placing a custom link in the header
#1
My myBB is a sub part of my main website.  I would like to place a link back to main homepage  in the header.  Maybe next to the search link? Maybe next to the User CP link?  I took a look through the plugins but didn't see anything.  Does anyone know of a plugin to do this?

Thank you in advance
Reply
#2
You don't need a plugin, just edit the good template, depending on where you want your link.
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#3
Edit your Header Templates: "header"
Find the menu items:
	<ul class="menu top_links">
		{$menu_portal}
		{$menu_search}
		{$menu_memberlist}
		{$menu_calendar}
		<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
	</ul>
Just add another menu item, like this:
<li><a href="./ANOTHER_SITE.PHP">TEXT</a></li>

[ExiTuS]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)