| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 
README file for the clone module for Drupal 7.x.The clone module allows users to make a copy of an existing node and then editthat copy. The authorship is set to the current user, the menu and url aliasesare reset, and the (localized) words "Clone of" are inserted into the title toremind you that you are not editing the original node.Users with the "clone node" or "clone own nodes" permission can utilize thisfunctionality. A "Clone content" local action link will appear on node pages.Depending on the setting you choose there are two possible actions that willoccur when you click that tab. Each of these is a different cloning "method".The default method works by pre-populating the node form, rather than immediatelysaving a copy of the original node to the database.  Thus, your node will notbe saved until you hit "Submit" (just like if you went to node/add/x).The alternative method that may be selected immediately saves the node (bydefault the user must confirm this action on a confirmation form). This maywork better in some cases, but also means that the copied node may immediatelyshow up on the front page or in RSS feeds even while you are editing it.This module makes reasonable checks on access permissions.  A user cannot clonea node unless they can use the input format of that node, and unless they havepermission to create new nodes of that type based on a call to node_access().Settings can be accessed at admin/config/content/clone.  On this page you canset whether the publishing options are reset when making a clone of a node.This is set for each node type individually.This module seems to work with common node types, however YMMV, especially withnodes that have any sort of image or file  attachments.  In all cases, butespecially if you are using a complex (non-core) field or custom node type,you should evaluate this module on a test site with a copy of your databasebefore attempting to use it on a live site. On the settings page you may choosenode types to be omitted from the cloning mechanism - no users will be ableto clone a node of an omitted type.This module makes no attempt to respect field-level permissions set viathe Field Permissions module, or any other module that implementsfield-level permissions hooks. You should test your configurationcarefully or not allow access to the clone functionality for non-admins ifyou rely on field-level permissions for important site features.To install this module, copy the folder with all the files to the/sites/all/modules  OR /sites/default/modules directory of your Drupalinstallation and enable it at /admin/build/modules.  Two new permissions areavailable, but there are no changes to the database structure.Note: this module originally derived from code posted by Steve Ringwood(nevets@drupal) at http://drupal.org/node/73381#comment-137714
 |