Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2010 at 01:42 UTC
Updated:
1 Apr 2010 at 22:30 UTC
Hi, I managed to build a taxonomy view as I wanted, to display images titles and prices from uc module products. As default, path to taxonomy view is taxonomy/term/% so every single term will be affected by the same view. But what if I want to add some different headers to a different terms. When I change path to something like taxonomy/term/2 view is not working, standard node teaser will be used. How I can design each term with different views? For example taxonomy/term/2 will have grid view but taxonomy/term/3 will have list view or something different. Basically I would like to use grid view for all my taxonomy terms, but I want a different headers. Please help, Thanks
Comments
Comment #1
chazz commentedBump, searched in every issue about taxonomy view and could not find any solution for this... please help me good ppl, this is important as I can't move with my work on website :(
Thank you
Comment #2
dawehnerHey, if you want help, you should better solve http://drupal.org/node/626704 first :) I think if we would be that fast to answer every support question, this issue would be also a easy to solve problem :)
You could do this for example using hook_views_pre_query, or similar, and change the style plugin dynamically, via $view->display_handler->set_option. Sure that needs custom coding, but the life ain't as easy.
Comment #3
esmerel commentedSolution suggested.