I have a view with a single filter criteria (let's call it category) exposed to the user. The user can also select multiple categories in for this view (standard view stuff).
The category selection filter is rendered to the user in a big <select>
for element. For aesthetic reasons, this is undesirable.
What I'm trying to do is override the display of the widget that renders out the <select>
element. I've copied my /sites/all/modules/view/themes/views-exposed-form.php.tpl
to my theme's folder, however, the widget itself (which contains the <select>
form control I want to change to something else) is simply rendered by $widget->widget;
How can I change how the widget renders the multiple categories selection filter in the view?
Edit, for more info and clarity: This question deals with styling a widget, which is not quite what I want to do. I want to change the markup that renders the widget.
Another edit (after answering my own question): Turns out widget is not quite the correct Drupal terminology to use here for the exposed form filter.