I want to override Drupal 8 paths (routes) like node/{node} or taxonomy/term/{taxonomy_term} with custom panels variants. Is it possible?


Page Manager module. Add a new page that has the Path of /taxonomy/term/% and as @Todd Young wrote, disable the default Taxonomy view.

However, there is a bug that this is not working at https://www.drupal.org/node/2785195

Taxonomy Term


There is a Page Manager module which you could use for this purpose.

This is the Drupal 8 version of Page Manager, formerly part of the CTools module written by merlinofchaos

It supports the creation of new pages, and allows placing blocks within that page. Like Drupal 7's Page Manager, it provides a concept of "page variants", each with their own selection conditions. Additionally, it can be used to take over an existing page, like overriding /node/% to change what is displayed when viewing a node.

  • I'm already using it, but it works only for 'node/{node}'. I've tried to use several patterns: /taxonomy/term/{taxonomy_term}, /taxonomy/term/% - it doesn't works. Also I failed to override simple /node path. Which one should I use? – graceman9 Jul 27 '16 at 18:46
  • Downvote, because I'm asking for a practical solution, that one is theoretical only - it should work, but it doesn't. Perhaps I should create a bug report. Please correct me if I'm wrong. – graceman9 Aug 11 '16 at 14:28

I would comment but I don't have a reputation here yet.

The Page Manager module will indeed do what you are trying to accomplish. The problem you are having in the comments is due to the path you are trying to use already being taken.

Drupal 8 comes with a stock View for the Taxonomy page. You're probably setting the Page Manager page up correctly but you will need to disable this built-in View to "release" that path before it takes effect in your Page Manager page.

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.