PDA

View Full Version : What's the conditionals for custom fields in vba templates/pages ?


stckhlm
01-03-2010, 01:50 PM
I use vB Advanced for index page. And i use GARS for some blocks on the index page. The thing i couldn't solve is, i can not use the custom fields on my vba page even :
$customfields = true; // Set to true to grab the custom fields.
is like above.

Maybe i do wrong. I tried :
<if condition="$post[garsXX]">
and
<if condition="$thread[garsXX]">

Is there a different to use the conditionals for custom fields ?

Regards...

stckhlm
01-03-2010, 02:02 PM
I've already solved my problem.
The answer is "<if condition="$result[garsXX]"> variable. "XX" is the ID of the custom field...