Touch the creation date on publishing

Artem - July 3, 2007 - 05:43
Project:Scheduler
Version:5.x-1.4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi

I'd like to use Scheduler for automating the blog posting when I am on vacation. Unfortunately as far as I can see scheduler only publishes the nodes, leaving the node creation date intact.

Is there a way to make scheduler publish nodes as if they were just submitted?

Best regards,
Artem.

#1

AjK - July 8, 2007 - 20:42
Component:Miscellaneous» Code
Status:active» needs review

Try this patch that adds this feature. If you can review/test and say all is well I will commit it. Note, there's an extra admin setting in "content types" to enable this feature. The default is "off" so that the way it works remains the same for all other users who may upgarde to this version. You'll need to make sure you switch it on to test/review.

AttachmentSize
scheduler.module_p156360.txt 3.8 KB

#2

drue - July 15, 2007 - 22:14

This patch works for me, and is a very important feature that has been lost since scheduler in drupal 4. Hope to see it committed.

Thanks!
-drue

#3

Artem - August 22, 2007 - 19:30

Unfortunately, I am not really acquainted with the Drupal architecture (and, heh, PHP) for reviewing the patch. Though it looks ok to drue.

On a side note: would it be more drupalish and modular to make scheduler be able just to fire actions on time? Via the actions module? This way users would be able to do whatever they want, when the desired moment comes.

#4

AjK - August 22, 2007 - 19:35

On a side note: would it be more drupalish and modular to make scheduler be able just to fire actions on time? Via the actions module? This way users would be able to do whatever they want, when the desired moment comes.

I did plan on integrating Workflow/Actions in but then someone released the Scheduled Actions module so I didn't bother wasting my time implementing some already done elsewhere.

#5

jbrauer - September 25, 2007 - 05:11

Touching as a reminder to follow-up to my test with the patch.

#6

jbrauer - September 25, 2007 - 16:37

The patch worked as advertised for me. This is a great addition.

#7

AjK - October 6, 2007 - 13:55
Status:needs review» fixed

Commited to HEAD, will appear in next release.

#8

Anonymous - October 20, 2007 - 14:11
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.