BookMadeSimple
MarcElbichon - August 14, 2008 - 09:39
Use
This module will create a main book page for content type selected in BookMadeSimple settings. This is a shortcut to create a node and click on Update book outline.
A dropdown listbox will be added in books links. Selecting a content type will add it as a child page of the book page.
Installation
- Extract zip file in the modules directory
- Enable the module in the admin settings
Configuration
- Go to Book Made Simple settings and :
- - Select content types that will populate the "Add child page" dropdown list in book links.
- - Select content types to auto create main book page when creating.
- Or edit a content type and check or uncheck Auto create book main page
- Check "Hide default add child link" to hide Drupal default add child link (Since 2.0)
Since 2.0, you can define allowed content-type as child per content-type (in content-type settings)
Tips
Before 2.0, to hide standard Add child page on links, add this line in your css file :
li.book_add_child a{display:none;}To place dropdown listbox top of links, add this lines in your template.php file :
<?php
function <your template>_links($links, $attributes = array('class' => 'links')) {
if (array_key_exists("book_made_simple",$links)) {
$a = $links["book_made_simple"];
unset($links["book_made_simple"]);
array_unshift($links,$a);
}
return theme_links($links, $attributes = array('class' => 'links'));
}
?>Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.2 | 2009-Aug-05 | 14.33 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-2.1 | 2009-Jun-10 | 9.4 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.x-dev | 2009-Sep-21 | 14.47 KB | Download · Release notes | Development snapshot | |
