2015-04-08, 08:29 PM
(2015-04-08, 05:47 PM)Ferdaus Wrote: [ -> ]How can I insert a page, linking to something, with an icon & button just like yours, can you please create a template code for me, I want it to be align with all other buttons e.g 'Index, Users, Search' etc.
Thanks.
ACP > Templates & Styles > Templates > Square > Header templates > open header template
Inside you gonna see something like
<div id="header">
<div class="wrapper">
<div class="logo"><div class="logo2"><i class="fa fa-cube fa-fw"></i></div> Square</div>
<div class="menu">
<ul>
<li><a href="YOUR LINK HERE"><i class="fa fa-ICON HERE fa-2x"></i><br />YOUR TITLE HERE</a></li>
Add a new <li> tag:
<li><a href="YOUR LINK HERE"><i class="fa fa-ICON HERE fa-2x"></i><br />YOUR TITLE HERE</a></li>
<a href="YOUR LINK HERE"> It's where you put the link to the custom page you want.
<i class=" fa fa-ICON HERE fa-2x"> It's the icon, you can search the collection here: http://fontawesome.io/icons/
YOUR TITLE HERE It's where you put your custom title of that link, in all the links you have a custom var, in this case, you can put the text directly without problems.
Finished, it's something like this (Ej. Portal link):
<li><a href="{$mybb->settings['bburl']}/portal.php"><i class="fa fa-home fa-2x"></i><br />Portal</a></li>