The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
||||
|
||||
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']))"> breadcrumbs </vb:if> |
Благодарность от: | ||
chewbacca |
#3
|
|||
|
|||
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!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|