Full ELMS Learning Network documentation
book-navigation.tpl.php
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).- cis7 modules/book/book-navigation.tpl.php
- cis7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- cis7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- cis7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- cle7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- cle7 modules/book/book-navigation.tpl.php
- cle7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- cle7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- ecd7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- ecd7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- ecd7 modules/book/book-navigation.tpl.php
- elmsmedia7 modules/book/book-navigation.tpl.php
- elmsmedia7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- elmsmedia7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- harmony7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- harmony7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- harmony7 modules/book/book-navigation.tpl.php
- icor7 modules/book/book-navigation.tpl.php
- icor7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- icor7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- icor7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- meedjum_blog7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- meedjum_blog7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- meedjum_blog7 modules/book/book-navigation.tpl.php
- mooc7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
- mooc7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
- mooc7 profiles/mooc/modules/mooc_custom/mooc_helper_book_nav/templates/book-navigation.tpl.php
- mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
- mooc7 modules/book/book-navigation.tpl.php
Default theme implementation to navigate books.
Presented under nodes that are a part of book outlines.
Available variables:
- $tree: The immediate children of the current node rendered as an unordered list.
- $current_depth: Depth of the current node within the book outline. Provided for context.
- $prev_url: URL to the previous node.
- $prev_title: Title of the previous node.
- $parent_url: URL to the parent node.
- $parent_title: Title of the parent node. Not printed by default. Provided as an option.
- $next_url: URL to the next node.
- $next_title: Title of the next node.
- $has_links: Flags TRUE whenever the previous, parent or next data has a value.
- $book_id: The book ID of the current outline being viewed. Same as the node ID containing the entire outline. Provided for context.
- $book_url: The book/node URL of the current outline being viewed. Provided as an option. Not used by default.
- $book_title: The book/node title of the current outline being viewed. Provided as an option. Not used by default.
See also
template_preprocess_book_navigation()
2 theme calls to book-navigation.tpl.php
- book_node_view in modules/
book/ book.module - Implements hook_node_view().
- ctools_node_book_nav_content_type_render in sites/
all/ modules/ ulmus/ ctools/ plugins/ content_types/ node_context/ node_book_nav.inc
4 string references to the theme hook from book-navigation.tpl.php
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- book_node_view in modules/
book/ book.module - Implements hook_node_view().
- book_theme in modules/
book/ book.module - Implements hook_theme().
- ctools_node_book_nav_content_type_render in sites/
all/ modules/ ulmus/ ctools/ plugins/ content_types/ node_context/ node_book_nav.inc - ds_ds_fields_info in sites/
all/ modules/ ulmus/ ds/ ds.ds_fields_info.inc - Implements hook_ds_fields_info().
File
sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.phpView source
- <?php
-
- /**
- * @file
- * Default theme implementation to navigate books.
- *
- * Presented under nodes that are a part of book outlines.
- *
- * Available variables:
- * - $tree: The immediate children of the current node rendered as an unordered
- * list.
- * - $current_depth: Depth of the current node within the book outline. Provided
- * for context.
- * - $prev_url: URL to the previous node.
- * - $prev_title: Title of the previous node.
- * - $parent_url: URL to the parent node.
- * - $parent_title: Title of the parent node. Not printed by default. Provided
- * as an option.
- * - $next_url: URL to the next node.
- * - $next_title: Title of the next node.
- * - $has_links: Flags TRUE whenever the previous, parent or next data has a
- * value.
- * - $book_id: The book ID of the current outline being viewed. Same as the node
- * ID containing the entire outline. Provided for context.
- * - $book_url: The book/node URL of the current outline being viewed. Provided
- * as an option. Not used by default.
- * - $book_title: The book/node title of the current outline being viewed.
- * Provided as an option. Not used by default.
- *
- * @see template_preprocess_book_navigation()
- *
- * @ingroup themeable
- */
- ?>
- <?php if ($tree || $has_links): ?>
- <div id="book-navigation-<?php print $book_id; ?>" class="book-navigation">
- <?php if ($has_links): ?>
- <div class="page-links clearfix">
- <?php if ($prev_url): ?>
- <a href="<?php print $prev_url; ?>" class="page-previous" title="<?php print t('Go to previous page'); ?>"><?php print t('‹ Previous page'); ?></a>
- <?php endif; ?>
- <?php if ($next_url): ?>
- <a href="<?php print $next_url; ?>" class="page-next" title="<?php print t('Go to next page'); ?>"><?php print t('Next page ›'); ?></a>
- <?php endif; ?>
- </div>
- <?php endif; ?>
-
- </div>
- <?php endif; ?>