Commit 9b4296b5 authored by Moloc's avatar Moloc Committed by codycraven
Browse files

Issue #1811426 by Moloc: Fix term name not used as page title when menu item links to it.

parent cdf5eb21
Taxonomy Display 7.x-1.x, YYYY-MM-DD
------------------------------------
Issue #1811426 by Moloc: Fix term name not used as page title when menu item
links to it.
Issue #1807714 by codycraven: Due to #1410576 CTools is now a dependency.
Issue #1807682 by codycraven: Fixed strict warning, function result passed by
reference.
......
......@@ -351,6 +351,10 @@ function taxonomy_display_taxonomy_term_page($term) {
// Expose our $term object to altering.
drupal_alter('taxonomy_display_term_page_term_object', $term);
// taxonomy_term_page() sets the title this way, if flexibility is requested
// it can always be added to the module as a configurable setting.
drupal_set_title($term->name);
// Load settings for this vocabulary term.
$display_settings = taxonomy_display_fetch_taxonomy_display($term->vocabulary_machine_name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment