Full ELMS Learning Network documentation
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).- cis7 modules/forum/forums.tpl.php
- cle7 modules/forum/forums.tpl.php
- ecd7 modules/forum/forums.tpl.php
- elmsmedia7 modules/forum/forums.tpl.php
- harmony7 modules/forum/forums.tpl.php
- icor7 modules/forum/forums.tpl.php
- meedjum_blog7 modules/forum/forums.tpl.php
- 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
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.
File
modules/forum/forums.tpl.phpView source
- <?php
-
- /**
- * @file
- * 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 template_preprocess_forums()
- *
- * @ingroup themeable
- */
- ?>
- <?php if ($forums_defined): ?>
- <div id="forum">
- <?php print $forums; ?>
- <?php print $topics; ?>
- </div>
- <?php endif; ?>
-