Site Building

Sync Article Promotions with Articles for Drupal 7

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Alternate resources

Rules guide (Drupal.org)

Sprout Video

This screencast presents a way to help manage article promotions, separate content types used for promoting articles, providing more flexibility than standard teasers. The screencast shows how to have promotion nodes being published, unpublished and deleted in sync with the articles they belong to. Topics covered are:

  • Reacting on the node deletion event.
  • Using fetch entity by property to load a list of all relevant promotion nodes.
  • How to have the loaded list unlimited in length.
  • Using the delete entity action.
  • How to call rule components from a reaction rule.
  • Why it might be a good idea to have actions in separate components when acting on node updates.
  • Cloning rule components.
  • Publishing and unpublishing nodes.

Additional resources

Rules guide (Drupal.org)

Legacy Site Building