![]() |
Parsing the IF CONDITION on templates.
Hi all :)
I'd like to know how vBulletin parse the Code:
<if condition="1 == 1">true<else />false</if> Any help would be appreciated. THanks :) |
It doesn't. Template conditionals are parsed when they are saved.
Code:
<if condition="1 == 1">true<else />false</if> Code:
".((1==1)?"true":"false")." |
You need to call compile_template() in adminfunctions_template.php
|
Oh, great :)
Thanks a lot for your help guys, you got straight to the point :) |
All times are GMT. The time now is 10:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|