eZ Community » Forums » Suggestions » Overriding the pubdate and delayed...
expandshrink

Overriding the pubdate and delayed publication

Overriding the pubdate and delayed publication

Monday 11 December 2006 9:42:15 pm - 1 reply

We'd love to deploy eZPublish 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?

Tuesday 12 December 2006 11: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 eZ Publish. 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.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from