Ba$im
07-25-2007, 02:25 AM
hello
this what I do
Admin CP -> User Profile Fields -> Add New User Profile Field->menu with signal choice
I write question about what is your gender?
male
female
then I upload folder named it gender in vb/images
this folder have to image
male.gif
female.gif
then I go to
Admin CP -> Styles & Templates -> Style Manager -> � � -> Postbit Templates -> postbit
and add this code
Code:
<!-- gender -->
<if condition="$post[fieldx]"><img src="/images/gender/$post[fieldx].gif" border="0" alt="gender" /><br /></if>
<!-- gender -->
will this work gr8 with english language
but what about arabic language its not work
I made name of picture sam name of choise in FieldX
but its not work
then now is there any way can I use codde
for e.g
in fieldX if choice "X"
put this code
else
put this code
thanks in advance
this what I do
Admin CP -> User Profile Fields -> Add New User Profile Field->menu with signal choice
I write question about what is your gender?
male
female
then I upload folder named it gender in vb/images
this folder have to image
male.gif
female.gif
then I go to
Admin CP -> Styles & Templates -> Style Manager -> � � -> Postbit Templates -> postbit
and add this code
Code:
<!-- gender -->
<if condition="$post[fieldx]"><img src="/images/gender/$post[fieldx].gif" border="0" alt="gender" /><br /></if>
<!-- gender -->
will this work gr8 with english language
but what about arabic language its not work
I made name of picture sam name of choise in FieldX
but its not work
then now is there any way can I use codde
for e.g
in fieldX if choice "X"
put this code
else
put this code
thanks in advance