You are here

function forum_help in Drupal 5

Same name and namespace in other branches
  1. 8 core/modules/forum/forum.module \forum_help()
  2. 4 modules/forum.module \forum_help()
  3. 6 modules/forum/forum.module \forum_help()
  4. 7 modules/forum/forum.module \forum_help()
  5. 9 core/modules/forum/forum.module \forum_help()

Implementation of hook_help().

File

modules/forum/forum.module, line 11
Enable threaded discussions about general topics.

Code

function forum_help($section) {
  switch ($section) {
    case 'admin/help#forum':
      $output = '<p>' . t('The forum module lets you create threaded discussion forums for a particular topic on your site. This is similar to a message board system such as phpBB. Forums are very useful because they allow community members to discuss topics with one another, and they are archived for future reference.') . '</p>';
      $output .= '<p>' . t('Forums can be organized under what are called <em>containers</em>. Containers hold forums and, in turn, forums hold threaded discussions. Both containers and forums can be placed inside other containers and forums. By planning the structure of your containers and forums well, you make it easier for users to find a topic area of interest to them. Forum topics can be moved by selecting a different forum and can be left in the existing forum by selecting <em>leave a shadow copy</em>. Forum topics can also have their own URL.') . '</p>';
      $output .= '<p>' . t('Forums module <strong>requires Taxonomy and Comments module</strong> be enabled.') . '</p>';
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="@forum">Forum page</a>.', array(
        '@forum' => 'http://drupal.org/handbook/modules/forum/',
      )) . '</p>';
      return $output;
    case 'admin/content/forum':
      return '<p>' . t('This is a list of existing containers and forums that you can edit. Containers hold forums and, in turn, forums hold threaded discussions. Both containers and forums can be placed inside other containers and forums. By planning the structure of your containers and forums well, you make it easier for users to find a topic area of interest to them.') . '</p>';
    case 'admin/content/forum/add/container':
      return '<p>' . t('Containers help you organize your forums. The job of a container is to hold, or contain, other forums that are related. For example, a container named "Food" might hold two forums named "Fruit" and "Vegetables".') . '</p>';
    case 'admin/content/forum/add/forum':
      return '<p>' . t('A forum holds discussion topics that are related. For example, a forum named "Fruit" might contain topics titled "Apples" and "Bananas".') . '</p>';
    case 'admin/content/forum/settings':
      return '<p>' . t('These settings provide the ability to fine tune the display of your forum topics.') . '</p>';
  }
}