The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   What's the conditionals for custom fields in vba templates/pages ? (http://www.thevbgeek.com/showthread.php?t=5592)

stckhlm 01-03-2010 01:50 PM

What's the conditionals for custom fields in vba templates/pages ?
 
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 :
Code:

    $customfields = true;                // Set to true to grab the custom fields.
is like above.

Maybe i do wrong. I tried :
Code:

<if condition="$post[garsXX]">
and
Code:

<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...


All times are GMT. The time now is 09:34 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.