|
[vB4] How-to: Remove the navigation breadcrumb on FORUMHOME
by
08 Apr 2011
Rating:
I think this looks a lot cleaner. Note that the MG comment fields are for me, which makes it easier to search through my templates for things I adjusted. They are not necessary for the style change. If you're just getting into template modifications, something like this is a very quick and easy way to locate things that you've changed. In navbar_link: Code:
<!-- MG --><vb:if condition="THIS_SCRIPT != 'index'">
<vb:if condition="$show['breadcrumb']">
<li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li>
<vb:else />
<li class="navbit lastnavbit"><span>{vb:raw nav_title}</span></li>
</vb:if>
<!-- MG --></vb:if>
And in Navbar: Code:
<!-- MG --><vb:if condition="THIS_SCRIPT != 'index'">
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>
{vb:raw navbits.breadcrumb}
{vb:raw navbits.lastelement}
</ul>
<hr />
</div>
<!-- MG --></vb:if>
Cheers. |