Archive for September, 2014
If you want to know how to create custom filters with Drupal and view please follow the step from the link
But you need to remember some missing information :-
it is done in views api 2 , so function definition you need to change. for example
$this->query->add_where($this->options[‘group’], “term_node.tid = %d”, $value); should be
$this->query->add_where($this->options[‘group’], “term_node.tid”, $value,’=’);
ofcourse remember to add those files inside module.info file, otherwise you will see broken handlers in your view.