Champ Date

More
5 years 6 months 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.

More
5 years 6 months 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.

More
5 years 6 months 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.

More
5 years 6 months 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.

More
5 years 6 months 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.

More
5 years 6 months 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...

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

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