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.

CommentFileSizeAuthor
0200.HEAD.anarcat.taxonomy-type.patch3.13 KBanarcat

Comments

matteo’s picture

I 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

TDobes’s picture

+1 on anarcat's patch, which applies to CVS. I was actually looking for this feature a few months ago myself.

Steven’s picture

It might be useful to try and fit this in with this proposal:
http://drupal.org/node/view/6760

killes@www.drop.org’s picture

Doesn't apply anymore.

ricabrantes’s picture

Version: » 7.x-dev

Any activity??

catch’s picture

Status: Active » Closed (won't fix)

This should be handled by views, not core.

dealancer’s picture

Just 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.