| 1 |
REDAME file for the node template module for Drupal 4.7.x
|
| 2 |
|
| 3 |
The module allows users to make a copy of an existing node and set it as a
|
| 4 |
template for later copy. The authorship is set to the current user, the menu
|
| 5 |
and url aliases are reset, and the words "Clone of" are inserted into the title.
|
| 6 |
|
| 7 |
Users with the "node template" permission can access this functionality. A new
|
| 8 |
tab called "set template" will appear on every node pages. Once you click this
|
| 9 |
tab you have created a new node that is a copy of the node you were
|
| 10 |
viewing, and you will be redirected to an edit screen for that new node.
|
| 11 |
|
| 12 |
This module makes reasonable checks on access permissions. A user cannot duplicate
|
| 13 |
a node unless they can use the input format of that node, and unless they have
|
| 14 |
permission to create new nodes of that type based on a call to node_access().
|
| 15 |
|
| 16 |
Settings can be accessed at admin/settings/nodetemplate. On this page you can
|
| 17 |
set whether an additional confirmation screen is required before making a clone
|
| 18 |
of a node, and also set whether the publishing options are reset when making
|
| 19 |
a clone of a node. This is set for each node type individually.
|
| 20 |
|
| 21 |
This module works with common node types, but the attachments to the node
|
| 22 |
are not included in the duplicated node. In all cases, but especially
|
| 23 |
if you are using a complex or custom node type, you should evaluate this
|
| 24 |
module on a test site with a copy of your database before attempting to use
|
| 25 |
it on a live site.
|
| 26 |
|
| 27 |
To install this module, copy it to the /modules directory of your Drupal
|
| 28 |
installation and enable it at /admin/modules. A new table will be created to store
|
| 29 |
the information of node templates.
|