Creating Book Content - Using Book Module

Sometimes we may want to present content like in this tutorial, like a Book.
We can 'flip' to the previous page or move on to the next page of the whole book. We can use the book module which is part of Drupal's core modules. So we just go to our website, 'on' the module, grant access to 'superuser', put content and display.





Go To Website And Enable Book Module

Go to http://www.my_domain.com

Login 'eve' (superuser) and password.

Select Administer > Site building > Modules > [Book] > [Enabled] check > Save configuration.

Select > User management > Access control

picture

(continue) > [book module] > [superuser] check all > Save permissions





Create Content Using Book Type

Select > Create content

picture

(continue) > Book page >

picture

(continue) > [Title] Operations Manual For Your Lawn Mower > [Body] Thank you for purchasing the ..... > Comment settings > [Read/write,change to] Disabled > [URL path settings] manual_lawn_mower > [Publishing options] > [Promoted to front page] uncheck

picture

(continue) > Submit.

picture

(continue) > Add child page > [Title] Basic components and accessories > [Body] Your lawn mower comes complete with ..... > Comment settings > [Read/write,change to] Disabled > [Publishing options] > [Promoted to front page] uncheck > Submit

Note: the default [Parent] is 'Operations Manual...'. Do nothing.
But we do want these 2 features for our Book type:
(1) 'Comment settings' to be disable
(2) 'Publishing options' 'Promoted to front page' to be uncheck
We can disable these 2 features for the Book type so that when we create new book pages, these two features will be the default we set.





Change Book Type Default Settings for 'Comment' And 'Promoted Front Page' And Create 2 More Book Pages

Select > Administer > Content management > Content types > [Book page] edit > [scroll down] >

picture

(continue) > [Workflow] > [Default options] > [Promoted to front page] uncheck > [Default comment setting] > [Read/Write,change to] Disabled > Save content type





Create More Book Type Pages

Select > Create content > Book page > [Title] Power On and handling > [Parent,select] Operations Manual For Your Lawn Mower > [Body] There is a power switch located ..... >
[Weight] 1 > Comment settings (already 'disabled', do nothing) > Publishing options ('promoted front page' uncheck, do nothing) > Submit

Note: I have created another 2 pages 'Maintenance of lawn mower' and 'Warranty period' with [Weight] as '2' and '3' respectively.

Select > [top of page, below header] > Home > Operations Manual For Your Lawn Mower.

picture





Display Book Content

Select > Administer > Site building > Menus > [Our Company] > Add item > [Title] Manual Lawn Mower > [Path] manual_lawn_mower > [Parent item,leave as it is] Our Company > [Weight] > 10 (let item 'sink' to bottom) > Submit > Log out.

picture