![]() |
Getting to profile fields to display on the same line
Code:
<if condition="$post['field16']"><div class="smallfont">Name: $post[field16]</div></if> <if condition="$post['field46']"><img src="images/misc/$post[field46].gif" alt="$post[field46]"></div></if> |
Code:
<if condition="$post['field16']"><div class="smallfont">Name: $post[field16]<if condition="$post['field46']"><img src="images/misc/$post[field46].gif" alt="$post[field46]"></if></div></if> |
you could use a span instead of a div too
|
and that won't freak out if someone doesn't have either field16 or 46 filled out?
|
Forces both to be inputed:
Code:
<if confition="$post['field16'] AND $post['field46']"> Code:
<if confition="$post['field16'] OR $post['field46']"> |
thanks, cos 46 is gender and 16 is name so i wanted to make sure that even if someone didn't put in their name it will still display their gender
|
Code:
<if confition="$post['field16'] OR $post['field46']"><div class="smallfont"><if condition="$post['field16']">Name: $post[field16]</if><if condition="$post['field46']"><img src="images/misc/$post[field46].gif" alt="$post[field46]"></if></div></if> Quote:
line 54 is the above line |
found the error it was a spelling mistake
|
All times are GMT. The time now is 11:39 PM. |
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:
|