6

Drupal 7.

I have a view that displays all taxonomy terms based on an argument in the URl. Is there a way to set the title to display dynamically?

For example, the I have a Taxonomy called Publications, where level one are magazines, and level two the individual issues. If I go to the url for 'Time Magazine' which is 'publications/12345' I would like the view title to be 'Time Magazine Issues.'

I was able to get the argument in the title using '%1 Issues' but I want the name, not the ID.

2 Answers 2

12

I tested the view and the trick seems to be to select the "filter type value: taxonomy IDs separated by , or +": (right click on image and open in new window to see full size): enter image description here

For reference, this is discussed here: http://drupal.org/node/1137672. I would would think this is a bug in views, could be a feature ;-)

2
  • 1
    This solution doesn't work for localized taxonomy terms in title
    – user13486
    Commented Feb 8, 2013 at 4:50
  • Yes, many thanks. This was exactly what I was looking for.
    – user13510
    Commented Feb 8, 2013 at 19:47
1

This solution doesn't work for localized taxonomy terms in title

Didn't work for me either but it started working after applying this patch: http://drupal.org/node/1788832#comment-6495290

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.