My favorites | Sign in
Project Logo
                
Search
for
Updated Apr 20, 2009 by mx.morin
BookMadeSimple  
Simplify Book management

Installation

  1. Extract zip for Drupal5 or zip for Drupal6 in the modules directory
  2. Enable the module in the admin settings

For Drupal 6, clearing cache may be necessary.

Configuration

Go to BookMadeSimple settings and :

  • Select content types that will populate the child drop down list in book links.
  • Select content types to auto create main book page when creating.
  • Check "Hide default add child link" to hide Drupal default add child link (Since 2.0)

or go to content type admin settings and check or uncheck auto create main book page check box.

Since 2.0, you can allow child content by content-type

Use

  1. This module will create a main book page for content type selected in BookMadeSimple settings. This is a shortcut of creating a node and clicking on Update book outline.
  2. A dropdown listbox will be add in books links. Selecting a content type will add it as a child page of the book page.

Tips

To hide standard Add child page on links, add this line in your css file (before 2.0) :

	li.book_add_child a{display:none;}

To place dropdown listbox at top of links, add this lines in your template.php file :

	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'));
	}


Sign in to add a comment
Hosted by Google Code