WooHoo! I got it working. I hate editing php files but it gets me what I need...
To do this, I used the fix at
http://www.vbulletin.com/forum/proje...?issueid=37252 and modified it to get the parentid for my conditional.
open /packages/vbcms/controller/content.php
Around line 93 ( after
protected function authorizeAction() { ) add
Code:
vB::$vbulletin->parentid = $this->node->getParentId();
As an example, let's say you want a graphic to appear in the navbar template of any CMS page that belongs within a section with id# 5, in your template you can use :
Code:
<vb:if condition="$vbulletin->parentid == 5">........</vb:if>
As mentioned, I hate modifying php files since I will have to redo this every time I upgrade. Anyone know how to make this into a plug-in type thing?