csingsaas
06-03-2011, 08:35 PM
Anyone know how I can reference the section id (node id) so that on the homepage of the CMS (the root page my entire website) I am able to hide the breadcrumb from showing.
I would want to do something like this.......
If Section ID != 1
- print the breadcrumb
End if
This is the part in the navbar template that I am going to nest inside the conditional.
<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>
I would want to do something like this.......
If Section ID != 1
- print the breadcrumb
End if
This is the part in the navbar template that I am going to nest inside the conditional.
<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>