Article and Promo dates don't appear to be in sync

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by cneumann on March 14, 2012 at 1:34am

When creating a new article the promo is created as expected, but when I assign a back date, it appears that the date is not copied to the promo. Example: I create an article today, 3/13 with the authoring date of 2012年03月01日 1200 but the promo date is 2012年03月13日 . I would have expected that the date that was assigned to the article would also post on the promo as well.

Yes this is issue is not huge moving forward with future content, but there is a lot of content that needs to be back ported with old dates so this can become a real pain since we are talking about probably 2500+ nodes of data that needs to be back-filled.

Thoughts?

Comments

Promos are currently only

Posted by fabsor on March 14, 2012 at 7:20am

Promos are currently only created when an article is created, and the initial values are then copied over. The promo is not kept in sync after that. You can change this however through rules however:

  • Enable the rules admin module
  • Go to admin => rules => triggered rules.
  • There is a rule called "Create promo clone of article", this is the rule responsible for creating promos.
  • The action "Cross clone node" is the one responsible for creating the article, and it has settings for how to handle syncing if you click on it. The specific setting you're interested in is probably "Coupling settings". It is set to No coupling, but if you set it to for instance "Couple downstream, similar", the promo will automaticly be updated when the parent article is updated.

//Fabian Sörqvist

I set the rule to Couple

Posted by cneumann on March 14, 2012 at 6:32pm

I set the rule to Couple Downstream, similar but I could not get it to work as you described.

This is what I did:
* Set published date in the Article to 2012年01月15日 12:00:00, shows as "Published: January 15, 2012" (works)
* Updated: 10:23 March 14, 2012 (this is fine)
* I reviewed the Promo date and it was 2012年03月14日 10:23:24 -0800 (doesn't work as expected)

I just made the change and it saved, but I didn't run cron, dump the cache or anything else.

Did I miss a step?

Thanks,

Tried it again and it didn't

Posted by cneumann on March 16, 2012 at 1:24am

Tried it again and it didn't work.

Tried "straight" clone

Posted by cneumann on March 23, 2012 at 1:26am

Tried "straight" clone settings as well as other variants and settings and it still does not work as desired.

Just to be clear, when I create "Back dated" content and select a different publish year, month, day, time I would like that date information to pass to the cloned Promo as well. The probably would not happen too often under normal circumstances, but I am trying to back-fill some content that can be upwards of 10-years old. This back-date would only happen one time (normally) when the Article is created.

The workaround I have now is to edit the Promo, which is a lot of extra steps for the users.

Any more ideas?

NodeStream

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /