| 1 |
|
******************************************************************** |
| 2 |
|
D R U P A L M O D U L E |
| 3 |
|
******************************************************************** |
| 4 |
|
Name: Side Content module |
| 5 |
|
Drupal: 5.x |
| 6 |
|
Author: Robert Castelo [MegaGrunt] |
| 7 |
|
Contact: www.codepositive.com |
| 8 |
|
|
| 9 |
|
******************************************************************** |
| 10 |
|
DESCRIPTION: |
| 11 |
|
|
| 12 |
|
|
| 13 |
|
* When creating or editing a page, this module allows content to be added to a side bar block. |
| 14 |
|
|
| 15 |
|
* The content will only be seen when viewing the page (node) that it's been added to. |
| 16 |
|
|
| 17 |
|
* This works on any kind of page - book, blog, forum... |
| 18 |
|
|
| 19 |
|
* The block on each page can have it's own title. |
| 20 |
|
|
| 21 |
|
* The text is searchable, and can be in a variety of formats (depending on filter permissions). |
| 22 |
|
|
| 23 |
|
* The block created can have a title, or no title - whichever you prefer. |
| 24 |
|
|
| 25 |
|
* Various options available for how it's fields are included on edit page forms. |
| 26 |
|
|
| 27 |
|
* Print Friendly Pages module integration, option to not show sidecontent on print pages |
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
******************************************************************** |
| 32 |
|
EXAMPLE: |
| 33 |
|
|
| 34 |
|
http://www.cortextcommunications.com/development/sidecontent |
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
******************************************************************** |
| 40 |
|
INSTALLATION: |
| 41 |
|
|
| 42 |
|
|
| 43 |
|
Note: It is assumed that you have Drupal up and running. Be sure to |
| 44 |
|
check the Drupal web site if you need assistance. If you run into |
| 45 |
|
problems, you should always read the INSTALL.txt that comes with the |
| 46 |
|
Drupal package and read the online documentation. |
| 47 |
|
|
| 48 |
|
1. Place the entire sidecontent directory into your Drupal modules/directory. |
| 49 |
|
Or even better: sites/default/modules |
| 50 |
|
|
| 51 |
|
2. Enable the sidecontent module by navigating to: |
| 52 |
|
|
| 53 |
|
administer > modules |
| 54 |
|
|
| 55 |
|
Click the 'Save configuration' button at the bottom to commit your changes. |
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
******************************************************************** |
| 60 |
|
CONFIGURATION |
| 61 |
|
|
| 62 |
|
1. Configure the module on the web page: |
| 63 |
|
admin > build > block |
| 64 |
|
|
| 65 |
|
Click 'configure' on the sidecontent block's row. |
| 66 |
|
|
| 67 |
|
Select your prefered display options. |
| 68 |
|
|
| 69 |
|
Save configuration. |
| 70 |
|
|
| 71 |
|
Once it's configured enable the block. |
| 72 |
|
|
| 73 |
|
2. Set access permissions for side content blocks: |
| 74 |
|
administer > access control |
| 75 |
|
|
| 76 |
|
3. Set which content types can have a sidecontent block: |
| 77 |
|
administer > settings > content types |
| 78 |
|
|
| 79 |
|
Click on a content type and enable/disable sidecontent. |
| 80 |
|
|
| 81 |
|
4. Create or edit a page, page must be of an enabled content type (see 3. above). |
| 82 |
|
|
| 83 |
|
|
| 84 |
|
******************************************************************** |
| 85 |
|
THANKS: |
| 86 |
|
|
| 87 |
|
Gabriel Birke - various form editing improvements |
| 88 |
|
http://www.d-scribe.de/ |
| 89 |
|
|
| 90 |
|
Pierre Mazoyer (PierreM) - Drupal 5 update |
| 91 |
|
http://www.viasun.fr |
| 92 |
|
|
| 93 |
|
geekonek - postgres support |
| 94 |
|
|
| 95 |
|
|
| 96 |
|
|
| 97 |
|
|
| 98 |
|
|