Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 9 Months ago header links?
#1
Solved: 11 Years, 9 Months ago
So basically i tried adding header links using this tutorial http://community.mybb.com/thread-78062.html

Its all fine but the text does not show so basically next to help it does not say nothing but i can click the space next to it so it goes to donate.php how can i make the text appear just like help.
#2
Solved: 11 Years, 9 Months ago
Please post your header template and link to your forum.
Jovan J.
#3
Solved: 11 Years, 9 Months ago
http://area2007.x10.mx/

<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">
				<ul id="navs">
					<li><a class="nav" href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
                                        <li><a class="nav" href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
                                        <li><a class="nav" href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
					<li><a class="nav" href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
					<li><a class="nav" href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>				 
                                </ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<navigation>
			<br />{myadvertisements[zone_1]}
[/code]

That is my header template atm without the donate button, i want to add a donate button which links to http://area2007.x10.mx/donate.php
#4
Solved: 11 Years, 9 Months ago
add below code after <li><li><a class="nav" href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li> in a new line
<li><a class="nav" href="{$mybb->settings['bburl']}/donate.php">Donate</a></li>
#5
Solved: 11 Years, 9 Months ago
Try replacing your current one with this:

<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
            <div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
            <div class="menu">
                <ul id="navs">
                    <li><a class="nav" href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
                                        <li><a class="nav" href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
                                        <li><a class="nav" href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
                    <li><a class="nav" href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
					<li><a class="nav" href="{$mybb->settings['bburl']}/donate.php">Donate</a></li>
                    <li><a class="nav" href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>                 
                                </ul>
            </div>
            <hr class="hidden" />
            <div id="panel">
                {$welcomeblock}
            </div>
        </div>
        <hr class="hidden" />
        <br class="clear" />
        <div id="content">
            {$pm_notice}
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
            {$pending_joinrequests}
            <navigation>
            <br />{myadvertisements[zone_1]} 
Jovan J.
#6
Solved: 11 Years, 9 Months ago
Thanks Smile


Forum Jump:


Users browsing this thread: