matttiger
05-23-2006, 07:46 PM
I've been trying to work this out for months: Where exactly are the conditionals in vBulletin templates changed to and parsed as PHP code to produce output for whether the conditional is true or not?
For example, say I had the conditional <if condition="$foo">some text</if> in the calendar weekly template, (and $foo is set to 1) where is the <if condition="$foo"> parsed so that the "some text" appears on the page. I can't seem to just do it with eval(), there must be a function somewhere doing it.
Many thanks in advance ;)
Anyone?
Anyone?
For example, say I had the conditional <if condition="$foo">some text</if> in the calendar weekly template, (and $foo is set to 1) where is the <if condition="$foo"> parsed so that the "some text" appears on the page. I can't seem to just do it with eval(), there must be a function somewhere doing it.
Many thanks in advance ;)
Anyone?
Anyone?