wilhud
01-26-2012, 09:58 PM
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 1327619889 at 1327619889 ---------------
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
<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 1327619889 at 1327619889 ---------------
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