Closed (duplicate)
Project:
Hierarchical Select
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2008 at 18:39 UTC
Updated:
23 Mar 2008 at 15:54 UTC
I have an exposed filter which is a taxonomy selector I theme myself and therefore I don't want HS to touch it.
I therefore located the following conditional...
function taxonomy_hierarchical_select_form_alter($form_id, &$form) {
...
if ($form_id == 'views_filters') {
...
...and sabotaged it so that now HS doesn't touch my (or any) exposed filters. That's good.
But, obviously, an official, and beautiful, method should be devised to opt out certains views from HS processing.
Interestingly, I've just seen the following feature request:
"Putting exposed views filters in separate lines should be optional"
http://drupal.org/node/233456
These two feature requests seem unrelated, but maybe we can devise an 'opt out' mechanism that could serve both. A hook_hierarchial_select_opt_out() hook maybe?
Comments
Comment #1
wim leersNo, it just should be a setting for each view. This was lower priority, so it's not done yet. It was on my todo list.
The tricky thing is that we will need this:
- for each view
- within each view, for each exposed filter that *can* use a Hierarchical Select.
I would accept an "all or nothing" approach though (i.e. not per-exposed filter settings).
Comment #2
wim leersI *knew* I had an issue for this somewhere: http://drupal.org/node/218219.
Comment #3
wim leers