| 1 |
Better formats is a module to add more flexibility to Drupal's core input format system.
|
| 2 |
Features
|
| 3 |
|
| 4 |
* Set the default format per role.
|
| 5 |
* Set the default format per content type.
|
| 6 |
* Control allowed formats per content type.
|
| 7 |
* Hide format tips.
|
| 8 |
* Hide format selection, forcing the default to be used.
|
| 9 |
* Expand the selection fieldset by default.
|
| 10 |
* Disable the expand/collapse of the selection fieldset.
|
| 11 |
* Set selection fieldset title.
|
| 12 |
* Set default formats for nodes and comments separately.
|
| 13 |
* Works with CCK textareas.
|
| 14 |
* Panels comment support
|
| 15 |
* and more.
|
| 16 |
|
| 17 |
-------------------------------------------------------------------
|
| 18 |
|
| 19 |
Installation:
|
| 20 |
|
| 21 |
1. Copy the module folder to your server.
|
| 22 |
2. Enable the module via the modules page.
|
| 23 |
|
| 24 |
-------------------------------------------------------------------
|
| 25 |
|
| 26 |
Simple 4-step usage:
|
| 27 |
|
| 28 |
1. Go to user permissions (/admin/user/permissions) and set your permissions.
|
| 29 |
2. Navigate to Site Configuration > Input formats (/admin/settings/filters)
|
| 30 |
3. There you will find 2 tabs where you can change your settings.
|
| 31 |
Defaults (/admin/settings/filters/defauts)
|
| 32 |
Settings (/admin/settings/filters/settings)
|
| 33 |
4. If you enable the "Control formats per node type" option. Go to your content
|
| 34 |
type admin page to set those settings (example /admin/content/node-type/page).
|
| 35 |
The settings are under the Input format settings fieldset.
|
| 36 |
|
| 37 |
-------------------------------------------------------------------
|
| 38 |
|
| 39 |
Extended usage and notes:
|
| 40 |
|
| 41 |
* The default format will only be set on NEW nodes and comments. The format
|
| 42 |
selected when the form is submitted is used for future editing purposes.
|
| 43 |
|
| 44 |
* The module is designed to always fall back to default settings when needed.
|
| 45 |
This means that when you enable the module before you change any settings,
|
| 46 |
it will use your current Drupal settings. Also when you enable conrol per node
|
| 47 |
type it will use your global settings until you save the content type with new
|
| 48 |
settings.
|
| 49 |
|
| 50 |
* The permissions "collapse format fieldset by default" and
|
| 51 |
"collapsible format selection" will only work if "Show format selection" is
|
| 52 |
also given. This is because those 2 perms only have an effect when there is
|
| 53 |
a format selection.
|
| 54 |
|
| 55 |
* The permission "collapse format fieldset by default" will only work if
|
| 56 |
"collapsible format selection" is also given. This is because the
|
| 57 |
fieldset can only be collapsed by default if it is collapsible.
|
| 58 |
|
| 59 |
* If you dis-allow a format that is already being used by content, the module
|
| 60 |
will do its best to set the correct format. The precidence of the formats are:
|
| 61 |
1. Existing format selected when last saved
|
| 62 |
2. Content type default format
|
| 63 |
3. Global default format
|
| 64 |
4. First allowed format
|
| 65 |
5. Drupal core site default format
|