Drupal 7: Adding filters into View programmatically -
i created taxonomy view display content of different categories, , client want have different exposed filters different categories. example, shoes category should have filters color, shoe length, shoelace color, while clothes category should have filter material , color, while bag should not have category @ all.
been trying things on own nothing works. searches on google found ways change existing filter's value, not creating whole new filter , injecting view.
yolo people, suggestions? - , saying yolo meant live online
i suggest using 'better exposed filters' module views api. allows implement custom filters extending views_handler_filter
class.
Comments
Post a Comment