forums.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/forum/forums.tpl.php
  2. cle7 modules/forum/forums.tpl.php
  3. ecd7 modules/forum/forums.tpl.php
  4. elmsmedia7 modules/forum/forums.tpl.php
  5. harmony7 modules/forum/forums.tpl.php
  6. icor7 modules/forum/forums.tpl.php
  7. meedjum_blog7 modules/forum/forums.tpl.php
  8. mooc7 modules/forum/forums.tpl.php

Displays a forum.

May contain forum containers as well as forum topics.

Available variables:

  • $forums: The forums to display (as processed by forum-list.tpl.php).
  • $topics: The topics to display (as processed by forum-topic-list.tpl.php).
  • $forums_defined: A flag to indicate that the forums are configured.

See also

template_preprocess_forums()

1 theme call to forums.tpl.php
forum_page in modules/forum/forum.pages.inc
Page callback: Prints a forum listing.
12 string references to the theme hook from forums.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.

forum_enable in modules/forum/forum.install
Implements hook_enable().
forum_page in modules/forum/forum.pages.inc
Page callback: Prints a forum listing.
forum_rdf_mapping in modules/forum/forum.module
Implements hook_rdf_mapping().
forum_theme in modules/forum/forum.module
Implements hook_theme().
hook_theme in modules/system/system.api.php
Register a module (or theme's) theme implementations.

... See full list

File

modules/forum/forums.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Displays a forum.
  5. *
  6. * May contain forum containers as well as forum topics.
  7. *
  8. * Available variables:
  9. * - $forums: The forums to display (as processed by forum-list.tpl.php).
  10. * - $topics: The topics to display (as processed by forum-topic-list.tpl.php).
  11. * - $forums_defined: A flag to indicate that the forums are configured.
  12. *
  13. * @see template_preprocess_forums()
  14. *
  15. * @ingroup themeable
  16. */
  17. ?>
  18. <?php if ($forums_defined): ?>
  19. <div id="forum">
  20. <?php print $forums; ?>
  21. <?php print $topics; ?>
  22. </div>
  23. <?php endif; ?>

Related topics