Forums / Suggestions / Overriding the pubdate and delayed publication
Stephen Paschall
Monday 11 December 2006 12:42:15 pm
We'd love to deploy Exponential as our primary CMS, but we need two things:
1.) As quite a bit of the content we post is archival, we need to be able to easily override the publication date in the administrative interface.
2.) As a news organization, we need to be able to embargo content until a scheduled date and time, and eZ does not appear to have any native support for delayed publication at this time.
I'm really surprised eZPub v3 doesn't have ready support for these features, as eZPub 2.x most certainly did. I'm sure versioning makes it quite a bit more complex a problem, but surely it can be done.
I'd love to be able to write an extension to solve the problem, but I simply don't know the system well enough to do so yet.
Suggestions?
Jeroen Sangers
Tuesday 12 December 2006 2:39:27 am
1. If I understand you correctly, you want to set the publication date on archived objects and I assume that you are importing your current site into Exponential. If that is the case, you might want to consider doing an automated import using the API instead of copy/pasting everything in the admin interface.
2. This is very easy to do. First, you will have to add a date/time field to your object for storing the embargo date. Then, define a new workflow of the 'Event/Wait until date' type linked to the new field and modify the 'Content/Publish/Before' trigger to start the deferred publishing workflow.