MyBB Community Forums

Full Version: Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you add like a button on your forums or like a new page so like you click the button and it will put you to a different part of your forums such as like a store?
If you mean for the header menu then.
<li><a href="store.php"> Store</a></li>	
(2018-12-22, 03:27 AM)iAndrew Wrote: [ -> ]If you mean for the header menu then.
<li><a href="store.php"> Store</a></li>	

Where do you post that at
Templates > Your theme > Header Templates > Header

Your menu should look something like this.
<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>
        <li><a href="store.php"> Store</a></li>	
</ul>
(2018-12-22, 03:46 AM)iAndrew Wrote: [ -> ]Templates > Your theme > Header Templates > Header

Your menu should look something like this.
<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>
        <li><a href="store.php"> Store</a></li>	
</ul>

By doing this it puts it right here http://prntscr.com/ly6jch
Instead of http://prntscr.com/ly6jes
Templates > Flatty > Header Templates > header_welcomeblock_member

You will find the menu in these two templates. Just add your link like shown below.
<ul class="menu top_links float_right">
		<li><a href="{$mybb->settings['bburl']}/portal.php">{$lang->toplinks_portal}</a></li>
		<li><a href="{$mybb->settings['bburl']}/index.php">Forums</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" class="help">{$lang->toplinks_help}</a></li>
           <li><a href="store.php"> Store</a></li>
	</ul>


Templates > Flatty > Header Templates > header_welcomeblock_guest
<ul class="menu top_links float_right">
		<li><a href="{$mybb->settings['bburl']}/portal.php">{$lang->toplinks_portal}</a></li>
		<li><a href="{$mybb->settings['bburl']}/index.php">Forums</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" class="help">{$lang->toplinks_help}</a></li>
          <li><a href="store.php"> Store</a></li>
	</ul>