afficher un champ de type "radio"

More
7 years 10 months ago #62853 by tonnick
Code:
<?php $valeurradio= $item->fields["origin_member"]->display; echo $valeurradio ; if ($valeurradio ==1) : ?> <i class="fa fa-info-circle fa-2x" aria-hidden="true"></i> <?php endif; ?>

et la il m'affiche : Yes

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #62854 by micker
c'est donc ca ton soucis
tu tests si la valeur = 1 alors qu'elle renvoi YES
va dans ton champ et demande lui d'affiché la valeur et non l'étiquette de la valeur

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #62855 by tonnick
yes bien joué !!!!!!! un grand merci !!!! :)

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #62856 by micker
de rien

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.266 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline