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

chazz’s picture

Bump, 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

dawehner’s picture

Hey, 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.

esmerel’s picture

Status: Active » Fixed

Solution suggested.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.