You are here

function taxonomy_help in Drupal 4

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

Implementation of hook_help().

File

modules/taxonomy.module, line 1306
Enables the organization of content into categories.

Code

function taxonomy_help($section) {
  switch ($section) {
    case 'admin/help#taxonomy':
      $output = '<p>' . t('The taxonomy module is one of the most popular features because users often want to create categories to organize content by type. It can automatically classify new content, which is very useful for organizing content on-the-fly. A simple example would be organizing a list of music reviews by musical genre.') . '</p>';
      $output .= '<p>' . t('Taxonomy is also the study of classification. The taxonomy module allows you to define vocabularies (sets of categories) which are used to classify content. The module supports hierarchical classification and association between terms, allowing for truly flexible information retrieval and classification. The taxonomy module allows multiple lists of categories for classification (controlled vocabularies) and offers the possibility of creating thesauri (controlled vocabularies that indicate the relationship of terms) and taxonomies (controlled vocabularies where relationships are indicated hierarchically). To view and manage the terms of each vocabulary, click on the associated <em>list terms</em> link. To delete a vocabulary and all its terms, choose <em>edit vocabulary.</em>') . '</p>';
      $output .= '<p>' . t('A controlled vocabulary is a set of terms to use for describing content (known as descriptors in indexing lingo). Drupal allows you to describe each piece of content (blog, story, etc.) using one or many of these terms. For simple implementations, you might create a set of categories without subcategories, similar to Slashdot\'s sections. For more complex implementations, you might create a hierarchical list of categories.') . '</p>';
      $output .= t('<p>You can</p>
<ul>
<li>add a vocabulary at <a href="%admin-taxonomy-add-vocabulary">administer &gt;&gt; categories &gt;&gt;  add vocabulary</a>.</li>
<li>administer taxonomy at <a href="%admin-taxonomy">administer &gt;&gt; categories</a>.</li>
<li>restrict content access by category for specific users roles using the <a href="%external-http-drupal-org-project-taxonomy_access">taxonomy access module</a>.</li>
<li>build a custom view of your categories using the <a href="%external-http-drupal-org-project-taxonomy_browser">taxonomy browser</a>.</li>
</ul>
', array(
        '%admin-taxonomy-add-vocabulary' => url('admin/taxonomy/add/vocabulary'),
        '%admin-taxonomy' => url('admin/taxonomy'),
        '%external-http-drupal-org-project-taxonomy_access' => 'http://drupal.org/project/taxonomy_access',
        '%external-http-drupal-org-project-taxonomy_browser' => 'http://drupal.org/project/taxonomy_browser',
      ));
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="%taxonomy">Taxonomy page</a>.', array(
        '%taxonomy' => 'http://drupal.org/handbook/modules/taxonomy/',
      )) . '</p>';
      return $output;
    case 'admin/modules#description':
      return t('Enables the categorization of content.');
    case 'admin/taxonomy':
      return t('<p>The taxonomy module allows you to classify content into categories and subcategories; it allows multiple lists of categories for classification (controlled vocabularies) and offers the possibility of creating thesauri (controlled vocabularies that indicate the relationship of terms), taxonomies (controlled vocabularies where relationships are indicated hierarchically), and free vocabularies where terms, or tags, are defined during content creation. To view and manage the terms of each vocabulary, click on the associated <em>list terms</em> link. To delete a vocabulary and all its terms, choose "edit vocabulary".</p>');
    case 'admin/taxonomy/add/vocabulary':
      return t("<p>When you create a controlled vocabulary you are creating a set of terms to use for describing content (known as descriptors in indexing lingo).  Drupal allows you to describe each piece of content (blog, story, etc.) using one or many of these terms. For simple implementations, you might create a set of categories without subcategories, similar to Slashdot.org's or Kuro5hin.org's sections. For more complex implementations, you might create a hierarchical list of categories.</p>");
  }
}