Hi,

I've been through the issues queue but couldn't find anything that matched but apologies if I missed something. I suspect that it's more a case of not finding the right documentation (or understanding it) but would be happy to write a handbook page if that were the case.

I am using page titles and views and generally page titles work just fine. I am unable to get the page title to take on my taxonomy/term/% view (my view is a clone of the default taxonomy view that ships with views) pages though. If I disable the view page titles come through correctly. I have added a "Page (with Page Title)" display but am as to what to do now.

Regards,
Malks.

Comments

philipz’s picture

StatusFileSize
new65.45 KB

I had the same problem with my custom view overriding taxonomy term page. The problem was I didn't set the Argument/Contextual filter Override title option like the default taxonomy/term/% view does. This is D7 screenshot but I guess it's quite the same in D6.

nicholasthompson’s picture

This should be fixed in the next release... I'll leave this open just in case.

ergophobe’s picture

Thanks for the tip Philipz!

jenlampton’s picture

Category: support » bug

For everyone else who needs a fix to this bug now, updating to the dev version did the trick for me.

mariancalinro’s picture

Version: 6.x-2.5 » 7.x-2.x-dev
Component: Documentation » Code
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new587 bytes

Well, given that the first test in the if below checks that we are on a taxonomy term page:

  // Taxonomy Term Page
  if ( !strncmp($menu_item['path'], 'taxonomy/term/%', 15) &&
       ($term = menu_get_object('taxonomy_term', 2)) ) {
    $types['term'] = $term;
    $pattern = variable_get('page_title_vocab_' . $term->vocabulary_machine_name, '');
  }

we could run directly taxonomy_term_load(arg(2)):

  // Taxonomy Term Page
  if ( !strncmp($menu_item['path'], 'taxonomy/term/%', 15) &&
       ($term = taxonomy_term_load(arg(2))) ) {
    $types['term'] = $term;
    $pattern = variable_get('page_title_vocab_' . $term->vocabulary_machine_name, '');
  }

My patch does that, and it works on taxonomy terms pages regardless of who controls the output.

alula.k’s picture

Same problem, with Drupal 8. Anyone found a way yet. I found this StackOverflow thread but I still haven't fixed the issue