The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Header Parent Conditional
Is there something like this that is possible to use in the header template?
<vb:if condition="$parentnodeid == 45"> <!-- My Customized Header Code Here --> </vb:if> '$parentnodeid' being the id of the parent page to the current page. I've searched a lot online and have yet to find a clear response to this. Any help or other ideas are greatly appreciated. This would be with regards to the CMS section of vbulletin, not the forums. Thanks, Wil --------------- Added [DATE]1327619889[/DATE] at [TIME]1327619889[/TIME] --------------- Think I figured it out. Appears to be... $vbulletin->parentnode Therefore... <vb:if condition="$vbulletin->parentnode == 45"> <!-- My Customized Header Code Here --> </vb:if> Seems to do the trick. Figured I'd post this in case anyone else was searching and needed the answer. Wil |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|