PDA

View Full Version : How to show conditon php code to template condition <vb:if condition..


Muhammad Rahman
12-04-2013, 09:30 AM
i have simple code like this..

if($vbulletin->options['xxxxx'])
{ ###content###
}

how to change to ..

<vb:if condition="$...[....]"> ###content###</vb:if>

ozzy47
12-04-2013, 10:59 AM
<vb:if condition="($vboptions[XXX])">
CODE HERE
</vb:if>