Champ et calcule

More
7 years 1 month ago #66943 by adel2k
Replied by adel2k on topic Champ et calcule
Je crois que c'est trop compliqué pour moi je vais devoir abandonné ce champ... :\

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

More
7 years 1 month ago - 7 years 1 month ago #66944 by micker
Replied by micker on topic Champ et calcule
il te faut apprendre les minimum en php regarde coté des operateur mathémathique ... courage
Code:
<?php $valeur1 = <?php echo $item->fields["argentdispo"]->display; $valeur2 = <?php echo $item->fields["champsasoustraire"]->display $total = $valeur1 - $valeur2; echo $total; ?>

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]
Last edit: 7 years 1 month ago by micker.

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

More
7 years 4 weeks ago #66946 by adel2k
Replied by adel2k on topic Champ et calcule
Bonjour, et merci pour votre aide, le probléme c'est que je developpe sous flexi une petite application de gestion de monnaie et employer et cela grace a fléxi sans connaitre du php c'est du vrai art flexicontent.
Le code que vous m'avez donner
Code:
<?php $valeur1 = <?php echo $item->fields["argentdispo"]->display; $valeur2 = <?php echo $item->fields["champsasoustraire"]->display $total = $valeur1 - $valeur2; echo $total; ?>
doit-je l'inserer dans un champ ?

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

More
7 years 4 weeks ago #66947 by micker
Replied by micker on topic Champ et calcule
non désoler j'ai fait une erreur de saisie
<?php
$valeur1 = $item->fields["argentdispo"]->display;
$valeur2 = $item->fields["champsasoustraire"]->display;
$total = $valeur1 - $valeur2;
echo $total;
?>
non dans ton template de contenu en ayant mis les champs ou dans une position d'affichage ou dans la position renderonly

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]
The following user(s) said Thank You: adel2k

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

More
7 years 4 weeks ago #66948 by adel2k
Replied by adel2k on topic Champ et calcule
D'accord merci je vais essayer ce soir a la maison, merci bcp

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

More
7 years 4 weeks ago #66950 by adel2k
Replied by adel2k on topic Champ et calcule
Juste une derniére question, dans un champ date, une fois l'utilisateur saisie une date du genre 01/05/2017, y'a t'il une option dans flexi qui 10 jours avant la date 01/05/2017 c'est a dire le 20/04/2017 on recois une notification dans les messagerie interne avec un message personnalisé ou faut du code aussi ?

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.470 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