| 1 |
********************************************************************
|
| 2 |
D R U P A L M O D U L E
|
| 3 |
********************************************************************
|
| 4 |
Name: Actions Module
|
| 5 |
Author: John VanDyk <jvandyk at iastate dot edu>
|
| 6 |
Drupal: 5
|
| 7 |
********************************************************************
|
| 8 |
|
| 9 |
NOTE: This is a backport of the actions/triggers implementation in
|
| 10 |
Drupal 6.
|
| 11 |
|
| 12 |
DESCRIPTION:
|
| 13 |
|
| 14 |
This module allows you to configure actions for use by other Drupal
|
| 15 |
modules.
|
| 16 |
|
| 17 |
For example, you can create an action that sends an email message
|
| 18 |
to someone. Another Drupal module may then execute that action.
|
| 19 |
|
| 20 |
If you are familiar with object-oriented programming, the actions
|
| 21 |
that you create with the action module are like object instances.
|
| 22 |
Singleton actions are also possible.
|
| 23 |
|
| 24 |
********************************************************************
|
| 25 |
INSTALLATION:
|
| 26 |
|
| 27 |
0. Apply node.module.patch to give Drupal 5 a 'presave' op. If
|
| 28 |
this sounds scary to you, read
|
| 29 |
http://drupal.org/node/310274#comment-1017758
|
| 30 |
|
| 31 |
1. Place the entire actions directory into your Drupal modules
|
| 32 |
directory (normally sites/all/modules or modules).
|
| 33 |
|
| 34 |
2. Enable the action module by navigating to:
|
| 35 |
|
| 36 |
Administer > Site building > Modules
|
| 37 |
|
| 38 |
3. If you want anyone besides the administrative user to be able
|
| 39 |
to configure actions (usually a bad idea), they must be given
|
| 40 |
the "administer actions" access permission:
|
| 41 |
|
| 42 |
Administer > User management > Access control
|
| 43 |
|
| 44 |
When the module is enabled and the user has the "administer
|
| 45 |
actions" permission, an "actions" menu should appear under
|
| 46 |
Administer > Site configuration in the menu system.
|
| 47 |
|
| 48 |
********************************************************************
|