MyBB Community Forums

Full Version: Very Confused HTML
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well I am modifying my nav bar by adding a home option however I have came across 2 problems, my first problem is when I copy and paste the exiting code and try and add a Home title it doesn't appear, my second problem is adding the link from a subdomain for example when I type in the url it will only search within the subdomain for that link. How can this be solved? My url is forums.seatforums.net and here is the code:

<div id="container">
<a name="top" id="top"></a>
<div id="header">
<table border="0" cellspacing="0" cellpadding="0" class="unheader">
<tr>
<td class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></td>
<td class="user">
{$welcomeblock}
</td>
</tr>
</table>
<div class="pasek">
<div id="szukaj">
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<div style="float:left;">
<input type="text" class="szukaj" name="keywords" value="Search..." onfocus="if(this.value == 'Search...') { this.value = ''; }" onblur="if(this.value=='') { this.value=''; }" size="25"/></div>

<!-- start: gobutton -->
<div style="float:left;"><button class="but" title="Search">Search</button></div>
<!-- end: gobutton -->
</form> </div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['imgdir']}/Gnome-Go-Home-32.png" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/member.png" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/123.png" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/help.png" alt="" title="" />{$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings['contactlink']}"><img src="{$theme['imgdir']}/contact.png" alt="" title="" />{$lang->bottomlinks_contactus}</a></li>

</ul>
</div>
</div>
<hr class="hidden" />
</div>
<hr class="hidden" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
I'm guessing this is what you added
<li><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['imgdir']}/Gnome-Go-Home-32.png" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
which is all ok you'll just need to edit {$lang->toplinks_memberlist} to say home or what ever you'dlike it to say.
it would help to have a link so we can see where it's going wrong