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

jonathan1055’s picture

Hi,
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

SocialNicheGuru’s picture

hmmmm... maybe code can be borrowed/modifed from registration_date module

jonathan1055’s picture

This 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

jonathan1055’s picture

Title: Offset from date » Publish date as an offset from another date field
Version: 7.x-1.x-dev » 7.x-1.1

Changing title to more accurately reflect the issue.
Let us know if you try this, or want any help.

Jonathan

jonathan1055’s picture

Status: Active » Fixed

Marking this issue as fixed, because the feature requested can be provided via #773510: Integration with Rules module

Jonathan

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jonathan1055’s picture

Issue summary: View changes
Related issues: +#773510: Integration with Rules module