MyBB Community Forums

Full Version: Change Logo Link?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just a basic question....

How can I change the logo link? So that when somebody clicks the logo, they're linked to somewhere else (not index.php).

I'm trying to change it to my portal (portal.php). Thanks!

I saw a thread about this, but it didn't really help.
In header template, find:

			<div id="logo">
				<div class="wrapper">
					<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
				</div>
			</div>

Change href="{$mybb->settings['bburl']}/index.php" to what you want. Please note that you'll change the logo link for all your pages.

If you'd like to restrict it to be shown only within specific locations of your board, the only way I know is to install PHP and Template Conditionals plugin, create a new template named header_example and copying everything from header template. Then within portal templates, change $header variable to <template header_example>.
Thanks!