You are here

function taxonomy_breadcrumb_help in Taxonomy Breadcrumb 5

Same name and namespace in other branches
  1. 8 taxonomy_breadcrumb.module \taxonomy_breadcrumb_help()
  2. 6 taxonomy_breadcrumb.module \taxonomy_breadcrumb_help()
  3. 7 taxonomy_breadcrumb.module \taxonomy_breadcrumb_help()

Implementation of hook_help().

File

./taxonomy_breadcrumb.module, line 261
The taxonomy_breadcrumb module generates taxonomy based breadcrumbs on node pages and taxonomy/term pages. The breadcrumb trail takes on the form: [HOME] >> [VOCABULARY] >> TERM >> [TERM] ...

Code

function taxonomy_breadcrumb_help($section) {
  switch ($section) {
    case 'admin/help#taxonomy_breadcrumb':
      $output .= t('<p>See %link.</p>', array(
        '%link' => l('admin/settings/taxonomy-breadcrumb', 'admin/settings/taxonomy-breadcrumb'),
      ));
      break;
    case 'admin/settings/taxonomy-breadcrumb':
      $output .= t('The taxonomy_breadcrumb module generates taxonomy based breadcrumbs on node pages and taxonomy/term pages.  The breadcrumb trail takes on the form:
                    <ul>[HOME] >> [VOCABULARY] >> TERM >> [TERM] ...</ul>
                    <ul>
                    <li>The text displayed for HOME is configurable below.  The <em>HOME </em>breadcrumb (if present) links to the homepage.  The text displayed for HOME is administrator configurable.  If the HOME breadcrumb is not defined by the administrator, it will not appear in the breadcrumb trail.</li>
                    <li>The <em>VOCABULARY </em>breadcrumb (if present) will link to an administrator defined page.  If the VOCABULARY does not have an administrator defined page, it will not appear in the breadcrumb trail. This can be configured on the add/edit vocabulary pages within !tax_link (taxonomy).</li>
                    <li>Each <em>TERM </em>breadcrumb will link to either (1) taxonomy/term/tid by default, or (2) an administrator defined page if one is defined for the term. This can be configured on the add/edit term pages within !tax_link (taxonomy).</li>
                    </ul>
                    <br>
                    <p>Examples:
                    <ul>
                    <li>home >> term >> term</li>
                    <li>mysite >> term >> term</li>
                    <li>home >> vocabulary >> term >> term</li>
                    <li>vocabulary >> term >> term</li>
                    </ul>', array(
        '!tax_link' => l('administer >> categories', 'admin/content/taxonomy'),
      ));
      break;
  }
  return $output;
}