I had to change $node->created and I did it with scheduler module.
It required any modyfications in this module, mainly I had to allow setting publish on date in the past.
I limited this possibility only specified content types and user permission.
Content types you can set in content type settings while permission is called 'publish in the past' and you can assign this permission to any roles in your drupal.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bartoll’s picture

Here is my patch

bartoll’s picture

This one is proper patch

bartoll’s picture

This is the newest patch. For some reasons I had to change logic. Now publishing in the past is done not immediatelly but by scheduler cron after a while.

pfrenssen’s picture

Status: Needs review » Closed (duplicate)

Marking this as a duplicate of #1819074: Allow publish_on dates in the past. This is in fact the older issue, but the other has a clearer title and description.

jonathan1055’s picture

Thanks Pieter for tidying up these issues.

jonathan1055’s picture

Issue summary: View changes

Changing in business logic in patch

jonathan1055’s picture

jonathan1055’s picture

Assigned: bartoll » Unassigned

Removed assignee for closed issue