Hiya,
Does anyone know how to exclude the top level category 'Front Page' from the sub navigation?
Here is what I've tried so far in the vbcms_navbar_link template (Note the conditional inside the vb:each statement)...
Whilst the above, in theory, seems sound enough it is not working....
Is there another way anyone?
Thanks,
Rob
Does anyone know how to exclude the top level category 'Front Page' from the sub navigation?
Here is what I've tried so far in the vbcms_navbar_link template (Note the conditional inside the vb:each statement)...
Code:
<vb:if condition="$links"> <vb:each from="links" value="link"> <vb:if condition="$vbulletin->$link.title != 'Front Page'"> <li><a href="{vb:raw link.url}">{vb:raw link.title}</a></li> </vb:if> </vb:each> <vb:else /> <li class="hidden"> </li> </vb:if>
Is there another way anyone?
Thanks,
Rob
Comment