Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Objective
D7 Tefiltro module improves the usability of your site through a process of term filtering. It hides from the "options list" of a "term reference" field, those options the visitor will not be able to choose under certain scenarios (Vide Scenario bellow).
It hides the options that represent terms not referenced at nodes authored by:
current user OR
members of the oldest organic group owned by current user.
Scenario Visitor wants to choose driving (node drive) some of his several cars (node car) according to their colors (vocabulary color). Each car has a term reference to a color, but not all colors stored in the vocabulary represent the cars owned by Visitor. He would like to filter the select options list to the colors of his own cars, or to the colors of the cars of his friends.
Usage
Tefiltro filters the options list of a term reference filed in a node add/edit form. Configure admin/config/content/tefiltro. Fill the form with: