Plugin comparaison dates puis ajout pour publication

More
11 years 6 months ago #36380 by seabird
Bonjour,

Voilà comme promis et pour faire suite aux posts:
www.flexicontent.org/forum/index ... =viewtopic
www.flexicontent.org/forum/index ... =viewtopic
les deux plugins: date_publication.zip et text_date.zip
- Dézippez le Zip
- Installez et activez les deux plugins: "FLEXIcontent-Text-date" et "Dates Evenement"
- Surcharger la form => components/com_flexicontent/views/item/tmpl/form.php en rajoutant à la fin: <?php echo '<script type="text/javascript" src="'.JURI::base().'plugins/flexicontent_fields/text_date/mCalandar.js"></script>'; ?>
- Creer deux champs "Date début" et "Date fin" respectivement de nom: date_debut et date_fin de type: Text-date et rajoutez pour chacun d'eux le plugin spécifique: dateevenement

Fonctionnement:
- Lorsque sur le formulaire vous cliquerez dans les champs "Date début" et "Date fin", le calendrier s'activera
- Lorsque la condition Date_début < Date_fin sera réalisée , les dates de publication de l'article seront mises à jour ( publish_up et publish_down )

Voilà en espérant que cela serve,

Eric
Attachments:

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

More
11 years 6 months ago #36393 by ggppdk
Hello,

thanks for contribution

please note that you could also allow the user to edit publish up/down dates and then create 2 custom date fields

Inside date field there is a parameter
"Displayed Dates Source"

there you can configure to show publish up or publish down dates


-- 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 6 months ago #36399 by micker
cool merci

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