BookMadeSimple

MarcElbichon - August 14, 2008 - 09:39
bms.png

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

  1. Extract zip file in the modules directory
  2. 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 releasesDateSizeLinksStatus
6.x-2.22009-Aug-0514.33 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-2.12009-Jun-109.4 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-2.x-dev2009-Sep-2114.47 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.