logo       

[task] Allow type restriction on taxonomy display: msg#00961

php.drupal.devel

Subject: [task] Allow type restriction on taxonomy display

Project: Drupal
Version: 4.3.2
Component: taxonomy.module
Category: tasks
Priority: normal
Assigned to: Anonymous
Reported by: anarcat
Updated by: matteo
Status: patch

I extended taxonomy module to accept multiple node types filtering.
you can find the module modified here [1].
The module also provides vocabulary and term names traslation, which is
very very useful in multilingual sites.
Hope ite helps.
Matteo

[1]
http://cvs.drupal.org/viewcvs/contributions/sandbox/matteo/modules/Drupal%20CVS/taxonomy/taxonomy.module


matteo



Previous comments:
------------------------------------------------------------------------

January 8, 2004 - 18:32 : anarcat

Attachment:
http://drupal.org/files/issues/0200.HEAD.anarcat.taxonomy-type.patch (3.13 KB)

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.


--
View: http://drupal.org/node/view/5040
Edit: http://drupal.org/project/comments/add/5040





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise