When using term_view override page in page manager, the page title that is shown uses the "menu title" instead of term name IF the term has a menu item attached to it. This little patch solves this issue. The same occurs in node_view and I´ve supplied a patch for that as well in: http://drupal.org/node/1097278.

Also there is a drupal_set_title() "missing" in the taxonomy_term_page() inside a core file; drupal/modules/taxonomy.pages.inc", so the same issue will apply to "non-panels" term pages.but I will supply a patch for that as wellThere was already an issue about this; http://drupal.org/node/1041906.
However this patch for page manager is not depending on the core patch to be done since page manager uses its own page callback to render the page.

Comments

bobodrone’s picture

StatusFileSize
new537 bytes

here is the patch.

merlinofchaos’s picture

the term_node task handler appears to be experiencing a similar problem.

Using drupal_set_title() to see if it's empty does not seem like the proper solution. If we follow the pattern elsewhere, we should just call drupal_set_title() first, and then if it's changed, so be it. That'll prevent the menu title from taking over.

merlinofchaos’s picture

Status: Needs review » Fixed

I went and did exactly what the original taxonomy_term_page() function does which is to just set the title right away and let whatever follows happen. Committed and pushed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

removed a line and added link to where core taxonomy issue can be found.