| 1 |
<?php |
<?php |
| 2 |
// $Id: taxonomy_breadcrumb.module,v 1.8 2009/01/28 23:39:53 mgn Exp $. |
// $Id: taxonomy_breadcrumb.module,v 1.7 2009/01/12 02:19:26 mgn Exp $. |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 89 |
// Extract lightest term from lightest vocabulary assosciated with node. |
// Extract lightest term from lightest vocabulary assosciated with node. |
| 90 |
$term = _taxonomy_breadcrumb_node_get_lightest_term($node->nid); |
$term = _taxonomy_breadcrumb_node_get_lightest_term($node->nid); |
| 91 |
$breadcrumb = _taxonomy_breadcrumb_generate_breadcrumb($term->tid); |
$breadcrumb = _taxonomy_breadcrumb_generate_breadcrumb($term->tid); |
| 92 |
|
if (variable_get('taxonomy_breadcrumb_include_node_title', FALSE)) { |
| 93 |
|
$breadcrumb[] = $node->title; |
| 94 |
|
} |
| 95 |
drupal_set_breadcrumb($breadcrumb); |
drupal_set_breadcrumb($breadcrumb); |
| 96 |
} |
} |
| 97 |
} |
} |