Node clone

pwolanin - July 26, 2006 - 02:25

The clone module allows users to make a copy of an existing item of site content (a node) and then edit that copy. The authorship is set to the current user, the menu and url aliases are reset, and the words "Clone of" are inserted into the title to remind you that you are not editing the original content.

Similar in purpose and function to the "Edit As New" module that was available for Drupal 4.5.

For the 1.x branch the admin can set whether a confirmation screen is required, and for both branches you can set whether to reset the publishing options on a per-content-type basis.

This module has also been used by some to facilitate node templating.

This module is originally derived from code posted by Steve Ringwood (nevets) at
http://drupal.org/node/73381#comment-137714

Important: Image nodes, and nodes with attachments managed by CCK (such as imagefield) cannot be cloned. You should viti the module settings page and exclude these. In general, any complex or custom node type may not clone cleanly. The 5.x and 6.x modules now have an extra hook in case you want to try to do a little extra cleanup to make a specific node type work.

Partly in an effort to find the best mechanism for this "cloning" both the 4.7.x and 5.x versions have two branches. The -1.x branch of each uses the original mechanism: a copy of the current node is saved to the DB, and then presented in the edit form. the -2.x branch of each instead pre-populates the form for adding a new node, but nothing is saved to the DB until that form is submitted.

The -1.x branches have been available longer, and thus perhaps have been more tested. Both mechanisms are available in a single module for 6.x.

Releases

Official releasesDateSizeLinksStatus
6.x-1.0-beta22008-May-0311.66 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-2.42008-May-1011.05 KBRecommended for 5.xThis is currently the recommended release for 5.x.
5.x-1.32008-May-0711.32 KBSupported for 5.xThis release is supported but is not currently the recommended release for 5.x.
4.7.x-2.02007-May-059.72 KBRecommended for 4.7.xThis is currently the recommended release for 4.7.x.
4.7.x-1.22007-Feb-099.85 KBSupported for 4.7.xThis release is supported but is not currently the recommended release for 4.7.x.
Development snapshotsDateSizeLinksStatus
5.x-2.x-dev2008-May-0411.05 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-May-0411.32 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.