Drupal: Views: exposed Taxonomy filter: additional functionalities

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-03-04T07:36:07Z Indexed on 2010/03/13 21:35 UTC
Read the original article Hit count: 380

hi!

I'm using Drupal Views with an exposed filter (improved with better exposed filters module) based on taxonomy. I have a list of nodes and for each node I assigned several tags.

I would like to add the following functionalities to the filter:

1 - when few tags are selected, I would like to disable all tags that are not possible to combine with the selected ones. In other terms, disable a tag if it is not visible in the filtered nodes. In this way I highlight only a subset of tags, to help the user to continue filtering the content.

2 - when I move the mouse over an article I would like to highlight the tags that are associated with such node with a different color. That is, if I selected TAGA, and the node also contains TAGB, and TAGC, I would like to highlight the last 2 tags if I move the mouse over the node.

thanks

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-views