Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I would like to know if it is possible to make the "published on" time for a moderated node be the time when it has been approved by a moderator and not the time when the node was submitted by its author.
I have been looking for an answer in Modr8 issues but could not find it (sorry if there already was an answer and I missed it).
Thank you in advance !
Heliks
Comments
Comment #1
pwolanin CreditAttribution: pwolanin commentedThis module doesn't do that, though it would be easy to write a short module that does do it by responding to the modr8 hook.
Comment #2
Satri CreditAttribution: Satri commented+1, makes sense that the 'published on' time actually display the time the node became available. Thanks! :-)
Comment #3
pwolanin CreditAttribution: pwolanin commenteddepends very much on your use case. Feel free to submit a patch to toggle this behavior.
Comment #4
Satri CreditAttribution: Satri commentedFound a use case where this behavior becomes a real problem: say you use the Sunmailer newsletter module or other module which publish content based on a cutoff date. Since modr8 keeps the submission date instead of the published date for the node, then nodes submitted on day x and approved on day x+1 will never show up in the newsletter.
Comment #5
rastarr CreditAttribution: rastarr commentedWondering whether there is any movement on anyone supplying a patch for this?
Same for scheduling that I have in place, I'd like content approval date to be set for the publish date.
Cheers
Martin
Comment #6
good_man CreditAttribution: good_man commentedPublish Date is doing so now for D6 release.
Comment #7
Satri CreditAttribution: Satri commentedI confirm that for the combination of Modr8 and Sunmailer, the D6 'Publish Date' module works as a perfect workaround.
That said, would still be nice if Modr8 module could handle this by itself.