[Resolu] Champ date automatique

More
11 years 3 months ago - 11 years 3 months ago #38927 by manu74
Bonjour,

Tout d'abord, felicitations pour ce merveilleux FlexiContent à tous ses developpeurs !

J'aurais voulu savoir comment insérer un champ donnant la date du jour automatiquement lors de l'édition d'un champ textarea ?

De façon à avoir ce schéma :
06/08/2013 - Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Je souhaite voir apparaître automatiquement en frontend la date en regard de ce que j'écris dans le textarea. Je ne sais pas comment, quoi utiliser ?

Merci de m'eclairer !
Salutations
Last edit: 11 years 3 months ago by manu74.

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

More
11 years 3 months ago #38928 by ggppdk
Hello,

You speak of our date field of our textarea field or some other custom field type ?

And you are speaking of a field that automatically loads the current date/time in item form, so when item is view in frontend it will show the date time that the item was edited ?

this already exists , it is the "modified" CORE field

... OR when in frontend item view (when item is viewed by the frontend user) to show the current viewing time?


-- 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.

More
11 years 3 months ago #38930 by manu74
Oui, je souhaiterais voir la date en regard de mon annotation seulement en frontend (lorsque l'on clique sur l'article).

Je pense qu'il faut que je me fasse un template specifique avec deux colonnes : date & items et 'coller' un script php date ou pouvoir récupérer la date lorsque j'édite mon article ?

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

More
11 years 3 months ago #38931 by ggppdk
Hello,

so you want the modified date of the content item (article) or the publish_up date of the content item?

- if you want the modified date then place the CORE "modified" field into a desirable (template) layout position
- if you want the publish_up date then create a custom date field and set the "Date Source" parameter (of the field) to be the publish_up date


-- 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.

More
11 years 3 months ago #38933 by manu74
Ok merci pour l'aide que tu m'apportes, cependant, la date de début de publication me retourne toujours la valeur suivante :

30 11 -0001


et je souhaite la date de derniere modification de l'article à l'instant t. Je ne vois pas cette option dans la liste deroulante sous : Afficher la source des dates.

Ce qui veut dire qu'à l'instant t + 30s, la premiere ligne avec la date ne changera pas mais la seconde ligne à l'instant t donnera la vraie valeur du temps.

Je pense qu il faudra utiliser Jumi.. ? Dites moi si je me trompe ?

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

More
11 years 3 months ago #38935 by ggppdk
Hello,

i am not sure that i understand you from translation
and micker (our French Forum moderator is on vacations),

you want to display the last modification time?
if so, then if you content Type "Hotel" is using the template "default" (if you edit your content Type hotel then you can see at bottom right the NAME of the template that is being used by your content type)

then

1. goto template manager
2. edit item layout of the template called "default"
3. drag and drop the "modified" field into a layout position ... and save,
4. view your content in frontend

PS if you are building a NEW site, then please use v2.1.0 RC1 r1704, otherwise please use v2.0.2
code.google.com/p/flexicontent/downloads/list


-- 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.481 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