MyBB Community Forums

Full Version: How to add Index link to Forum Logo ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Friends,

I opened TecDNA Forum few days ago. Really happy with user friendly settings of MyBB!

But now I got few suggestions from my members that I should add index page link to my header logo. I tried viewing Header Templates but don't exactly where i should add my link.

I am using this theme -

Screenshot -
[Image: 6pxjtf.png]

Please tell me how to add link !

Thank you,
Go to your Admin CP>>Templates and Themes>>Templates>>**Theme**>>Expand the 'Header' templates>>Open 'header'.

Find: (May be different for the theme you are using)
            <div class="logo"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></div>

After the '<div class="logo">, add:
<a href="{$mybb->settings['bburl']}/index.php">
And before the </div>, add:

Hope that helps!
<div id="header_cm">
<div class="header_searchfield">
        <form method="post" action="search.php">
        <input type="hidden" name="action" value="do_search" />
        <input name="keywords" type="text" class="searchfield_header" value="Search items" size="20" maxlength="250"/>
        <input type="submit" class="button_searchfield" name="submit" value="Go!" />
<div id="menue_top">
					<li><a href="{$mybb->settings['bburl']}/index.php">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>

nothing like dat !
Hey thanks a lot .. I solved this problem by making following change -

<div id="header_cm"><a href="{$mybb->settings['bburl']}/index.php"><img src="images/cm_images/header.jpg" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

Thanks Josh[y]