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).
  1. cis7 modules/book/book-navigation.tpl.php
  2. cis7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  3. cis7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  4. cis7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  5. cle7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  6. cle7 modules/book/book-navigation.tpl.php
  7. cle7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  8. cle7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  9. ecd7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  10. ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  11. ecd7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  12. ecd7 modules/book/book-navigation.tpl.php
  13. elmsmedia7 modules/book/book-navigation.tpl.php
  14. elmsmedia7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  15. elmsmedia7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  16. elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  17. harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  18. harmony7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  19. harmony7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  20. harmony7 modules/book/book-navigation.tpl.php
  21. icor7 modules/book/book-navigation.tpl.php
  22. icor7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  23. icor7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  24. icor7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  25. meedjum_blog7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  26. meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  27. meedjum_blog7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  28. meedjum_blog7 modules/book/book-navigation.tpl.php
  29. mooc7 sites/all/themes/elmsln_contrib/chamfer/templates/book-navigation.tpl.php
  30. mooc7 sites/all/themes/ulmus/fontfolio/templates/book-navigation.tpl.php
  31. mooc7 profiles/mooc/modules/mooc_custom/mooc_helper_book_nav/templates/book-navigation.tpl.php
  32. mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/book-navigation.tpl.php
  33. 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

modules/book/book-navigation.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to navigate books.
  5. *
  6. * Presented under nodes that are a part of book outlines.
  7. *
  8. * Available variables:
  9. * - $tree: The immediate children of the current node rendered as an unordered
  10. * list.
  11. * - $current_depth: Depth of the current node within the book outline. Provided
  12. * for context.
  13. * - $prev_url: URL to the previous node.
  14. * - $prev_title: Title of the previous node.
  15. * - $parent_url: URL to the parent node.
  16. * - $parent_title: Title of the parent node. Not printed by default. Provided
  17. * as an option.
  18. * - $next_url: URL to the next node.
  19. * - $next_title: Title of the next node.
  20. * - $has_links: Flags TRUE whenever the previous, parent or next data has a
  21. * value.
  22. * - $book_id: The book ID of the current outline being viewed. Same as the node
  23. * ID containing the entire outline. Provided for context.
  24. * - $book_url: The book/node URL of the current outline being viewed. Provided
  25. * as an option. Not used by default.
  26. * - $book_title: The book/node title of the current outline being viewed.
  27. * Provided as an option. Not used by default.
  28. *
  29. * @see template_preprocess_book_navigation()
  30. *
  31. * @ingroup themeable
  32. */
  33. ?>
  34. <?php if ($tree || $has_links): ?>
  35. <div id="book-navigation-<?php print $book_id; ?>" class="book-navigation">
  36. <?php print $tree; ?>
  37. <?php if ($has_links): ?>
  38. <div class="page-links clearfix">
  39. <?php if ($prev_url): ?>
  40. <a href="<?php print $prev_url; ?>" class="page-previous" title="<?php print t('Go to previous page'); ?>"><?php print t('‹ ') . $prev_title; ?></a>
  41. <?php endif; ?>
  42. <?php if ($parent_url): ?>
  43. <a href="<?php print $parent_url; ?>" class="page-up" title="<?php print t('Go to parent page'); ?>"><?php print t('up'); ?></a>
  44. <?php endif; ?>
  45. <?php if ($next_url): ?>
  46. <a href="<?php print $next_url; ?>" class="page-next" title="<?php print t('Go to next page'); ?>"><?php print $next_title . t(' ›'); ?></a>
  47. <?php endif; ?>
  48. </div>
  49. <?php endif; ?>
  50. </div>
  51. <?php endif; ?>

Related topics