This module let's you clone and couple nodes in different ways and between different node types. This module doesn't provide a UI on it's own. Everything is triggered and configured through Rules. While the same result potentially could be built with Rules + VBO or Node Clone + custom alter hook, this module provides a more dynamic way of cloning.

This module can also couple clones in different ways. The coupling settings will affect how clones are updated when the original node updates. The same thing is possible to configure for the delete behavior.

Overall there are two types of mappings:

  • Straight - will map fields straight between clones
  • Similar - will map fields straight between clones, but will also map similar fields (ignoring a substring of the node type name)

Example

"Similar clone" of a page to a story...

<?php
$node
->type = 'page';
$node->title = 'Hello world';
$node->field_page_teaser[0]['value'] = 'Lorem ipsum';
$node->field_page_body[0]['value'] = 'Dolor sit ahmet';
?>

...is possible to clone to:

<?php
$node
->type = 'story';
$node->title = 'Hello world';
$node->field_story_teaser[0]['value'] = 'Lorem ipsum';
$node->field_story_body[0]['value'] = 'Dolor sit ahmet';
?>

Options

You have the following options when triggering cloning of a node:

Node type:

  • New node type (choose which node type the clone shall have)

Clone settings:

  • Clone, straight
  • Clone, similar

Coupling settings:

  • No coupling
  • Clone downstream, straight
  • Clone downstream, similar
  • Clone upstream, straight
  • Clone upstream, similar
  • Cross coupling, straight
  • Cross coupling, similar

Delete settings:

  • Nothing
  • Delete downstream
  • Delete upstream
  • Cross delete

Credits

This module is built and maintained by dixon_ and fabsor from NodeOne.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.0-alpha2 tar.gz (15.19 KB) | zip (19.56 KB) 2011-Jan-28 Notes

Other releases

Version Downloads Date Links
7.x-1.0-alpha4 tar.gz (14.08 KB) | zip (16.56 KB) 2012-Apr-16 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (15.21 KB) | zip (18.75 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Cross Clone

  • fabsor - 52 commits
    last: 1 year ago, first: 2 years ago
  • dixon_ - 12 commits
    last: 2 years ago, first: 2 years ago

Issues for Cross Clone

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants