PDA

View Full Version : Postbit fields


dbirosel
04-12-2007, 12:39 AM
I have a new field called "Real Name:" and i have added it to my Postbit_legacy. Since most members have not filled in the field yet, it shows an empty spot. If a member didn't add the name yet, how can i have the real name field to not do this to the postbit legacy?


Is it because I have the three, Real Name;Location;Age wrapped in <div>?


Here's an example:

http://www.caraudiojunkyard.com/forum/showthread.php?p=13729

Dismounted
04-12-2007, 05:28 AM
Wrap the code with (replace fieldx with the id):
<if condition="$post[fieldx]">CODE HERE</if>

dbirosel
04-12-2007, 05:35 AM
So it's

<if condition="$post[fieldx]">CODE HERE</if>


and not..

<if condition="$post['fieldx']">CODE HERE</if>

Or it doesn't matter?

Dismounted
04-12-2007, 05:45 AM
It doesn't matter.