![]() |
using custom vars in conditionals
This Article says you can not use {vb:raw var} in template conditionals, but, what if i *REALLY* need to use it?
i need to do this in my templates: Code:
<if condition="{vb.raw prettypicture} == 4"> |
You would use $prettypicture in a condition instead of {vb:raw prettypicture}. Just make sure you registered the variable for use in the template though.
|
Quote:
|
All times are GMT. The time now is 11:42 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:
|