function bookblock_help in Book Block 6
Same name and namespace in other branches
- 7 bookblock.module \bookblock_help()
Implementation of hook_help().
File
- ./
bookblock.module, line 93 - Enables users to add specific book navigation blocks on non-book pages.
Code
function bookblock_help($path, $arg) {
switch ($path) {
case 'admin/content/book/blocks':
$output = '<p>' . t('The core book module provides one <em>book navigation block</em>, which is very useful, but occasionally you may need a book navigation block on specific non-book pages or in an additional region (e.g. in the footer).') . '</p>';
$output .= '<h4>' . t('Configuration') . '</h4>';
$output .= '<p>' . t('The books you have created on your site will be listed below. Select which ones you would like to create a <em>book navigation block</em> for and they will then be available to you on the <a href="@admin-block">blocks administration page</a>, where you can control on which pages they appear and in which region.', array(
'@admin-block' => url('admin/build/block'),
)) . '</p>';
$output .= '<p>' . t('Each <em>book navigation block</em> can also be configured from the blocks administration page (click <em>configure</em> next to the block name). The title can be replaced and you can control whether the menu expands to reveal child pages or not.') . '</p>';
$output .= '<p><em>' . t('N.B. Only books with child pages will actually display anything!') . '</em></p>';
return $output;
}
}