Roxie
04-22-2006, 10:16 PM
I have placed my gifts/ribbons inside a fieldset in the postbit. I am trying to make it so that it does NOT show if the user has no gifts or ribbons. However, if the user only has one (gifts OR ribbons) or both (gifts AND ribbons) it should show. This is the current code.
<!-- vbPlaza start -->
<fieldset><legend>$post[musername]'s Gifts/Ribbons</legend><if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if></fieldset>
<!-- vbPlaza end -->
Thanks.
<!-- vbPlaza start -->
<fieldset><legend>$post[musername]'s Gifts/Ribbons</legend><if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if></fieldset>
<!-- vbPlaza end -->
Thanks.