Log in

View Full Version : Template Conditional on Custom Profile Fields


|Jordan|
04-07-2010, 11:40 PM
Im trying to edit my showgroups.php page to display data from custom profile fields.

I can't get any data from my custom profile fields to display. I've tried <if condition="$user['fieldX']"> and it doesnt display anything.

Here's an example code im trying to get working:

<if condition="$user['field49']"><div class="smallfont">$user[field49]<else />None</div></if>

You can see the page at http://www.gamers-union.net/showgroups.php

Any idea's how i can get this to work? I've tried searching various sites with information on conditionals, but nothing works.

P.S. The header, navbar and footer are removed because the page will be iframed into another page.