When using Panels' System Panel Types to override Taxonomy term pages, I noticed that there were no out-of-the-box taxonomy fields to add to the Panel.
Provided were a 'List of Related Terms' and a 'Term Description' which were not what I wanted in this instance. I then went about creating a custom taxonomy View, using the Views Module, which gave me greater control.
Creating a Custom Taxonomy View
I started by navigating to the Views UI* at /admin/build/views/list and Enabled the system taxonomy view.
*ensure Views UI module is enabled
I then took a 'Clone' of this system taxonomy term view.
Edited the name to product_taxonomy_term for displaying terms in my Product taxonomy Vocabulary.
Customise and Configure the new view and in my case remove the Page display type as I will be using Panels to display my view and therefore it does not need it's own Path.
After saving the product_taxonomy_term clone I then disable the original system taxonomy_term view.
Customising the System Panel 'Taxonomy Term Template'
Firstly Enable the Taxonomy Term Template at /admin/build/panels
The Panel Page may also need Enabling on the next screen in order to make it available on the system at this point.
Choose 'Add Variant' to create a Panel Page which can have it's own unique layout and also be configured based on many options, such as Taxonomy Vocabulary, User Role, Panel Context, etc.
At this stage you can 'Create Variant' and have the option for a more configurable approach using Selection Rules or Context. In this case I did not need either as the System provides default Contexts for the Taxonomy Term Template which were all I needed. I will come back to these shortly...
If using Selection Rules for example you could enable selection based on the options listed above where as by Context you can manage configuration for the Panel based on other parameters available from the Url, Node or otherwise.
As seen in the image below the system default Contexts for the Taxonomy Term Template, both term and depth as argument 1 and argument 2 respectively.
I then added the product__taxonomy_term default view to the Panel and used the 'Substitutions' which correspond to the Contexts seen previously. I used the Context %term:name as my title so that the titles displayed the name of the Term on each page.
This now overrides the default display for all /taxonomy/term/%term URLs and their aliases in my case or all of those URLs who's taxonomy terms fit the criteria specified in the Selection rules and Contexts if specified.














Add new comment