Experimental project
This is a sandbox project, which contains experimental code for developer use only.
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:
- Target Field,
- Origin Field and
- Target Content Type.
Note: Target Field is the field used to select previsouly created terms, while Origin Field is the term reference field used to create terms that will be then selected by Target Field.
Step-by-Step
Although this is a very simple module, its usage can be trick unless you have faced the filtering needings it solves. For overcoming that read the step-by-step guide in the README.txt file.
git clone http://git.drupal.org/sandbox/panchiniak/1521136.git tefiltro --branch 7.x-1.x
Project information
- Created by rodrigo panchiniak fernandes on , updated
