Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2004 at 17:32 UTC
Updated:
7 Dec 2009 at 16:54 UTC
The taxonomy_dhtml module just gained the capability of restricting its display based on the node type. For example, you can make a block display the vocabulary, but count only the nodes of the type "story" or "poll". Clicking on a term links to /taxonomy/view/or/13/story (for example). This link, right now, doesn't work because of a lack of support in taxonomy.module.
The attached patch, which was previously in for_review, solves this problem in an elegant way.
| Comment | File | Size | Author |
|---|---|---|---|
| 0200.HEAD.anarcat.taxonomy-type.patch | 3.13 KB | anarcat |
Comments
Comment #1
matteo commentedI extended taxonomy module to accept multiple node types filtering.
you can find the module modified here.
The module also provides vocabulary and term names traslation, which is very very useful in multilingual sites.
Hope ite helps.
Matteo
Comment #2
TDobes commented+1 on anarcat's patch, which applies to CVS. I was actually looking for this feature a few months ago myself.
Comment #3
Steven commentedIt might be useful to try and fit this in with this proposal:
http://drupal.org/node/view/6760
Comment #4
killes@www.drop.org commentedDoesn't apply anymore.
Comment #5
ricabrantes commentedAny activity??
Comment #6
catchThis should be handled by views, not core.
Comment #7
dealancer commentedJust found better solution for Drupal 6.x:
1. Download views module.
2. Enable View UI.
3. Go to view and enable 'taxonomy_term' view
4. Here you can add any filters that make restrictions.