Views exposed form layout example
Views exposed form layout plugin choose
Views exposed form layout Layout choose

Provides an ability to output Views exposed fields in layouts. Helps with Views exposed filters theming.

Features:

  • Provides Default and supports Panels and Display suite layouts.
  • You can define custom layouts with regions.
  • You can override exposed form template as usual.
  • Added `views-exposed-widget` and `views-exposed-widget--field-name` templates.
  • Supports Better exposed filters module.

Configurations

For Site builders

  • On views edit page find Exposed form section.
  • Choose Basic (with layout) or Better Exposed Filters (with layout) Exposed form style.
  • On Exposed form settings form find Layout settings fieldset.
  • Choose Layout and click Change.
  • Set in which region each exposed filter will be outputted.
  • Click Apply and have fun.

For Developers

  • You can define custom layouts, see an example in vefl.api.php.
  • You can override exposed form template as usual:
    • In your theme define views-exposed-form.tpl.php, use $region_widgets variable to output widgets by regions.
    • views-exposed-form--VIEWNAME.tpl.php or
      views-exposed-form--VIEWNAME--DISPLAYNAME.tpl.php also work.
    • Find more info about Views template files.

Drupal 8

Drupal 8 version supports only Base exposed form now, Better exposed filters support will be added soon.

Supporting organizations: 
Sponsor of initial development

Project Information

Downloads