| 1 |
= Installation =
|
| 2 |
|
| 3 |
# Extract du zip file in the modules directory
|
| 4 |
# Enable the module in the admin settings
|
| 5 |
|
| 6 |
= Configuration =
|
| 7 |
|
| 8 |
# Go to Book Made Simple settings and :
|
| 9 |
- Select content types that will populate the child drop down list in book links.
|
| 10 |
- Select content types to auto create main book page when creating.
|
| 11 |
# Or edit a content type and check or uncheck Auto create book main page and Allow content type as child of book
|
| 12 |
|
| 13 |
= Use =
|
| 14 |
|
| 15 |
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.
|
| 16 |
|
| 17 |
A dropdown listbox will be add in books links. Selecting a content type will add it as a child page of the book page.
|
| 18 |
|
| 19 |
= Tips =
|
| 20 |
|
| 21 |
To hide standard Add child page on links, add this line in your css file :
|
| 22 |
|
| 23 |
li.book_add_child a{display:none;}
|
| 24 |
|
| 25 |
To place dropdown listbox top of links, add this lines in your template.php file :
|
| 26 |
|
| 27 |
function <your template>_links($links, $attributes = array('class' => 'links')) {
|
| 28 |
if (array_key_exists("book_made_simple",$links)) {
|
| 29 |
$a = $links["book_made_simple"];
|
| 30 |
unset($links["book_made_simple"]);
|
| 31 |
array_unshift($links,$a);
|
| 32 |
}
|
| 33 |
return theme_links($links, $attributes = array('class' => 'links'));
|
| 34 |
}
|
| 35 |
|
| 36 |
= Permissions =
|
| 37 |
BMS has two user permissions :
|
| 38 |
|
| 39 |
# Show reoder book link : Visibility of the Reorder book link
|
| 40 |
# Hide core outline links : Hide or show the core outline links of the book module.
|