| 4 |
******************************************************************** |
******************************************************************** |
| 5 |
Name: Control Panel Module |
Name: Control Panel Module |
| 6 |
Author: der <dreed10 -at- gmail -dot- com> |
Author: der <dreed10 -at- gmail -dot- com> |
| 7 |
Drupal: 4.7 and 5.x |
Drupal: 4.7, 5.x and 6.x |
| 8 |
******************************************************************** |
******************************************************************** |
| 9 |
DESCRIPTION: |
DESCRIPTION: |
| 10 |
|
|
| 20 |
module to generate a controlpanel anywhere in your module or template |
module to generate a controlpanel anywhere in your module or template |
| 21 |
code. The function call looks like: |
code. The function call looks like: |
| 22 |
|
|
| 23 |
controlpanel_build_controlpanel(5, TRUE, NULL) |
controlpanel_build_controlpanel('menu name:menu id', TRUE, NULL) |
| 24 |
|
|
| 25 |
The first parameter is the menu id of the root menu item for the |
The first parameter is the menu name followed by the menu id separated |
| 26 |
controlpanel. |
by a colon. |
| 27 |
|
|
| 28 |
******************************************************************** |
******************************************************************** |
| 29 |
INSTALLATION: |
INSTALLATION: |
| 33 |
2. Copy all the modules files, keeping directory structure, to the |
2. Copy all the modules files, keeping directory structure, to the |
| 34 |
folder 'modules/controlpanel' |
folder 'modules/controlpanel' |
| 35 |
|
|
| 36 |
3. Enable the controlpanel module in 'admin/modules' |
3. Enable the controlpanel module in 'admin/build/modules' |
| 37 |
|
|
| 38 |
4. [OPTIONAL] Configure module in admin/settings/controlpanel |
4. [OPTIONAL] Configure module in admin/settings/controlpanel |
| 39 |
|
|
| 40 |
5. If using Control Panel blocks configure the block(s) in admin/block |
5. If using Control Panel blocks configure the block(s) in |
| 41 |
|
admin/build/block |
| 42 |
|
|
|
!!! IMPORTANT !!! |
|
|
|
|
|
1. If your installing this in a Drupal 4.7 instance the Control Panel |
|
|
module REQUIRES that the menu.module be enabled! |
|
| 43 |
|
|
| 44 |
******************************************************************** |
******************************************************************** |