Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It would be great to allow for an offset from a date in the case of an event.
if I add an event date, then I could give the option to publish 7, 14, 21, 30 days before the event for example.
Comments
Comment #1
jonathan1055 CreditAttribution: jonathan1055 commentedHi,
Nice idea. However, to calculate the scheduled date we would need to link the scheduler field(s) to other date fields in your content type. That would require quite a bit of work, as it would need extra admin options to specify what fields to link to, what format, and what offset, with defaults and probably an override in the scheduler section of the node form. Not saying it can't be done, but it is not a quick enhancement.
Jonathan
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedhmmmm... maybe code can be borrowed/modifed from registration_date module
Comment #3
jonathan1055 CreditAttribution: jonathan1055 commentedThis can now be achieved using Schedulers new integration with the Rules - see module #773510: Integration with Rules module
You can build a rule which activates when saving a node, to a read your cck field and set the publish-on date to the required offset.
Jonathan
Comment #4
jonathan1055 CreditAttribution: jonathan1055 commentedChanging title to more accurately reflect the issue.
Let us know if you try this, or want any help.
Jonathan
Comment #5
jonathan1055 CreditAttribution: jonathan1055 commentedMarking this issue as fixed, because the feature requested can be provided via #773510: Integration with Rules module
Jonathan
Comment #7
jonathan1055 CreditAttribution: jonathan1055 commented