![]() |
Conditional Statement to Hide Breadcrumb on CMS Home
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. PHP Code:
|
Try putting a condition around it like:
HTML Code:
<vb:if condition="!(THIS_SCRIPT == 'vbcms' AND ($_GET['r'] == '1-whatever-you-call-it' OR !$_GET['r']))"> |
Thanks Lynne - I'll give it a go. I've been searching all sorts of things, reading posts dating back to 2005 (?! I think !?) and you seem to be the guru w/ all the answers. You do good work!
|
All times are GMT. The time now is 12:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|