PDA

View Full Version : trying to use If condition using vboptions directly in template. OMFG SOLVED!!!


Vaupell
02-08-2010, 06:54 PM
this is what im trying to do


<vb:if condition="{vb:raw vboptions.ewset_announcement_on}">


but something isent right.
i could make it through a php, but would prefer direct check like this.

any suggestions ?

--------------- Added 1265662803 at 1265662803 ---------------

omfg, why is it when i make a thread about something I ALMOST ALways find the ansver
5 mins later myself...

dammit..

solution

<vb:if condition="$vboptions['ewset_announcement_on']">

it works

TimberFloorAu
02-09-2010, 11:53 AM
Well done.

Incidentally codeing is spelled coding :)

Vaupell
02-09-2010, 11:56 AM
Well done.

Incidentally codeing is spelled coding :)

lol.. Thank you :D will try to remember that..