| 1 |
Drupal copyright.module README.txt
|
| 2 |
==============================================================================
|
| 3 |
|
| 4 |
This module manages copyrights/licenses for the entire site and optionally
|
| 5 |
for any node. Books can automatically display a copyright notice for all
|
| 6 |
child nodes.
|
| 7 |
|
| 8 |
This version of the copyright module only works on Drupal 6.x.
|
| 9 |
|
| 10 |
Installing copyright (first time installation)
|
| 11 |
------------------------------------------------------------------------------
|
| 12 |
|
| 13 |
1. Backup your database.
|
| 14 |
|
| 15 |
2. Copy the complete 'copyright/' directory into the 'modules/' directory of
|
| 16 |
your Drupal site.
|
| 17 |
|
| 18 |
3. Enable the module from the module administration page (administer >>
|
| 19 |
site building >> modules). The needed tables will be automatically
|
| 20 |
created. In addition, a couple of common licenses will be created.
|
| 21 |
|
| 22 |
4. Configure the module (see "Configuration" below).
|
| 23 |
|
| 24 |
Upgrading copyright (on Drupal 4.7 or later)
|
| 25 |
------------------------------------------------------------------------------
|
| 26 |
|
| 27 |
1. Backup your database.
|
| 28 |
|
| 29 |
2. Remove the old 'copyright.module' and 'copyright.css' files or old
|
| 30 |
'copyright/' directory from the 'modules/' directory of your Drupal site
|
| 31 |
(possible after making a backup of it).
|
| 32 |
|
| 33 |
3. Copy the complete 'copyright/' directory into the 'modules/' directory of
|
| 34 |
your Drupal site.
|
| 35 |
|
| 36 |
4. Go to the modules administration page ("administer >> site building >>
|
| 37 |
modules") and select to run "update.php". The data from the previous
|
| 38 |
version will automatically be converted to the new format if needed.
|
| 39 |
|
| 40 |
5. Configure the module (see "Configuration" below) if needed.
|
| 41 |
|
| 42 |
Configuration
|
| 43 |
------------------------------------------------------------------------------
|
| 44 |
|
| 45 |
1. On the access control administration page ("administer >> user management
|
| 46 |
>> access control") you need to assign the "administer copyright"
|
| 47 |
permission to the desired user roles that are allowed to create or edit
|
| 48 |
copyrights and configure the module.
|
| 49 |
|
| 50 |
Owners of content nodes will be able to select a copyright from the list
|
| 51 |
of available copyrights. They don't need the "administer copyright"
|
| 52 |
permission for that.
|
| 53 |
|
| 54 |
All users will be able to see the assigned copyrights.
|
| 55 |
|
| 56 |
2. On the content type settings page ("administer >> content management >>
|
| 57 |
content types") you can for each content type for which the author can
|
| 58 |
select a copyright, enable or disable the copyright selection. By default,
|
| 59 |
all content types have this disabled.
|
| 60 |
|
| 61 |
3. You can find a list of available copyrights on the copyright overview page
|
| 62 |
("administer >> content management >> copyright >> list"). Here you can
|
| 63 |
also set the default copyright to use. This copyright will be used on
|
| 64 |
every page and for every node, unless set otherwise for nodes.
|
| 65 |
|
| 66 |
4. By default, the site copyright block is displayed in the footer. You can
|
| 67 |
change this on the block administration page ("administer >> site
|
| 68 |
building >> blocks").
|
| 69 |
|
| 70 |
5. Each user can set his own default copyright to use on his account edit
|
| 71 |
page ("my account >> edit >> license").
|
| 72 |
|
| 73 |
Features
|
| 74 |
------------------------------------------------------------------------------
|
| 75 |
|
| 76 |
* You can assign the same license to a set of nodes on the content
|
| 77 |
management page ("administer >> content management >> content"). To do
|
| 78 |
this, select the nodes for which you want to change the license, select
|
| 79 |
the license from the "Update options" and press "Update".
|
| 80 |
|
| 81 |
Customizing your theme(s)
|
| 82 |
------------------------------------------------------------------------------
|
| 83 |
|
| 84 |
To customize the appearance of the copyright notices you can:
|
| 85 |
|
| 86 |
* edit the 'copyright.css' file to your taste, or
|
| 87 |
|
| 88 |
* implement the copyright theme hooks in your theme.
|
| 89 |
|
| 90 |
The copyright module adds two theme hooks:
|
| 91 |
- theme_copyright_footer - displayed as node footer,
|
| 92 |
- theme_copyright_block - for the inner text of the copyright block.
|
| 93 |
|
| 94 |
Use of these hooks is not required. If you don't modify your theme to
|
| 95 |
have these hooks, a default layout will be used for copyright notices.
|
| 96 |
These hook functions can be customized within themes in the standard
|
| 97 |
way. See the "Theme developer's guide" at http://drupal.org/node/509.
|
| 98 |
|
| 99 |
Bugs and shortcomings
|
| 100 |
------------------------------------------------------------------------------
|
| 101 |
|
| 102 |
* See the list of issues at http://drupal.org/project/issues/copyright.
|
| 103 |
|
| 104 |
Credits / Contact
|
| 105 |
------------------------------------------------------------------------------
|
| 106 |
|
| 107 |
Original author (version 4.5) of this module is Matt Schwartz (matt at
|
| 108 |
mattschwartz dot net).
|
| 109 |
|
| 110 |
Robrecht Jacques (robrechtj at gmail dot com) provided the port to drupal 4.7
|
| 111 |
and is the current active maintainer.
|
| 112 |
|
| 113 |
Best way to contact the authors is to submit a (support/feature/bug) issue at
|
| 114 |
the projects issue page at http://drupal.org/project/issues/copyright.
|
| 115 |
|
| 116 |
$Id: README.txt,v 1.7.4.4 2007/06/05 07:52:13 robrechtj Exp $
|
| 117 |
|