1

I have a custom view where I show a list of nodes by taxonomy term. Since there are many terms in dictionary, I can't describe every view page manually. Is there any way to set the page title as a taxonomy term title?

5

You can use the argument added into the filter and there will be option to override the title, there you can pass %1 which will automatically replace the title with the Taxonomy term title.

enter image description here

| improve this answer | |
  • In my case it prints term id. – Dmitrii Mikhailov Sep 1 '13 at 6:41
  • Ok, When I specified validation criteria it worked. Thanks! – Dmitrii Mikhailov Sep 1 '13 at 6:44
2

For Drupal 8 this would be {{ arguments.name }}.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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