MyBB Community Forums

Full Version: how to add a link in footer templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi
i want to add a link in the places which are in these photos:
1- the bottom of forum
[Image: 1543062347.png]

2-the top of forum
[Image: 922145308.png]

how to do that ?
For Bottom Menu: http://community.mybb.com/thread-103240-...#pid752330
For Header Menu: http://mods.mybb.com/view/menu-manager , however if you don't want to install this plugin then you can edit your theme's header template in order to add menu links.
1.

Okay.... Dont worry about getting plugins for it Big Grin. Just go to ACP -> Templates & Style -> Templates -> YOURTHEME -> Footer Templates -> footer

You will find
					<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
Just add anything you want where you want, Just do
<a href="http://google.com">Google!</a>

2.

Okay.... Dont worry about getting plugins for it Big Grin. Just go to ACP -> Templates & Style -> Templates -> YOURTHEME -> Header Templates -> header

Then copy a link that is that that and paste it where you want, then put the words you want for it. Then put the link beside where it belongs.

Anywhere after a </li>
                            <li><a href="{$mybb->settings['bburl']}/portal.php">Home</a></li>
                            <li><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
                            <li><a href="{$mybb->settings['bburl']}/donate.php">Donate</a></li>
                            <li><a href="{$mybb->settings['bburl']}/memberlist.php">Members</a></li>
                            <li><a href="{$mybb->settings['bburl']}/misc.php?page=mapdl">MapDL</a></li>
                            <li><a href="/jcow/index.php">Blog</a></li>
add something like:
Example:
<li><a href="http://somesite.com/something.php">SomeSite!</a></li>