Champ Date

1 month 3 weeks ago #74666 by Teamherve
Champ Date was created by Teamherve
Bonjour,

Est ce qu'il est un moyen de creer un champ calculé

Ce champ caculé serait la différence entre la date actuelle et un champs date de naissance.

Objectif avoir un champ AGE

Cordialement

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

1 month 3 weeks ago #74667 by micker
Replied by micker on topic Champ Date
Bonjou ce sera un plugin dans la version pro .... mais pas encore fait
sinon il te faudrais le faire dans le template
1 tu fait ton champs date
2 tu le met dans la position render only de ton template
3 dans ton fichier php tu charges ton champ et tu fais une opération mathématique dessus ..... attention la valeur date en sql est un peu galère a calculé
courage

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.

1 month 3 weeks ago #74670 by Teamherve
Replied by Teamherve on topic Champ Date
Bonjour,

Merci de ces indications.

Mais comme je ne suis pas arrivé à ce niveau.

Peut etre sur une version de test, je tenterai....

Hervé

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

1 month 3 weeks ago #74671 by micker
Replied by micker on topic Champ Date
desoler j'ai pas compris ta réponse ... lol

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.

1 month 3 weeks ago #74672 by Teamherve
Replied by Teamherve on topic Champ Date
Ma réponse c'est que comme il faut toucher le php

c'et un peu  voire beaucoup compliqué pour moi.
donc je vais remettre cela à plus tard

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

1 month 3 weeks ago #74679 by ggppdk
Replied by ggppdk on topic Champ Date
Hello

i have done a calculated age for another website recently

- if you want it for viewing only , the it is easy to do by
1. creating a text field
2. creating a custom layout for it to do the subtraction (PHP code)

- if you want to store a value in the DB then you will need system plugin
flexicontent pro Task plugin


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.