Expiration Date

22 views
Skip to first unread message

Hirschfeld, Michael

unread,
Jul 11, 2012, 9:38:44 AM7/11/12
to dot...@googlegroups.com
Does anyone know how to dynamically change the default expiration date?  We have started to integrate code from the code share that respects the expiration date for news stories.  The issue however is some of our end-users do not set the expiration and by default the expiration date is equal to the publication date therefore the news item is not displayed.
 
Thanks in advance!
 
 
 
 
 

Chris Falzone

unread,
Jul 11, 2012, 9:48:18 AM7/11/12
to dot...@googlegroups.com
You could probably get what you wanted with an additional custom field.   Use some dojo hackery to watch the publish date for changes and then change the expire date appropriately.  It would not be trivial and would require some dojo knowledge though.

On Wed, Jul 11, 2012 at 9:38 AM, Hirschfeld, Michael <Michael.H...@uth.tmc.edu> wrote:
Does anyone know how to dynamically change the default expiration date?  We have started to integrate code from the code share that respects the expiration date for news stories.  The issue however is some of our end-users do not set the expiration and by default the expiration date is equal to the publication date therefore the news item is not displayed.
 
Thanks in advance!
 
 
 
 
 

--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

Reply all
Reply to author
Forward
0 new messages