Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.5
Component:
taxonomy data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2009 at 11:10 UTC
Updated:
6 May 2009 at 14:20 UTC
Hi,
I need a piece of advice re one issue.
For one of my custom modules I created a custom view (page display) and assigned it a path: taxonomy/term/% (this module uses taxonomy categories).
Everything is working fine except one thing. This view overrides regular page style produced by taxonomy module. That means that all pathes created by taxonomy module lead user to this custom view (which is not exactly what was required).
I wonder if it is possible to make views show this custom page view ONLY for my module's node type?
So whenever node type is the one of my module a user can see my custom view, otherwise regular default output for taxonomy/term/term-ID.
Thank you for your guidance.
Comments
Comment #1
merlinofchaos commentedFor that kind of thing you should use the method taxonomy_redirect or forum uses to provide its own page so that your terms do not go to taxonomy/term/%.
Comment #2
Moscow commentedThanks a lot for the tip!
taxonomy_redirect seems to be able to give the desired results. I will test it.
But what was the second option that you offered? Could you please clarify a bit?
Comment #3
Moscow commentedTaxonomy_redirect has worked out well (I had to apply one patch to Tagadelic ( http://drupal.org/node/400806 ) for it to work properly.
Thanks.