Replaced by: 

Shows the exposed filter values a visitor selected, as a Views header/footer area with proper labels. Covers everything this module's block did on Drupal 10/11.

This project is obsolete. Views Exposed Filters Summary does the same job on Drupal 10/11 (shows the exposed filter values a visitor selected, in a view header or footer) with proper labels, more options and a larger maintainer team. New sites should use it instead. The 2.0.0 release of this module remains available for existing sites but will receive no further updates.

This module provides a themed function called "get_exposed_filter_output()" which print out the values of the exposed filter used in a view.
This can be useful in the view header, in case the exposed filter is in a block, but there is a need to show the user according to what filter he got the results.

The idea is based on the discussion - #658566: Use data from exposed filter in title or header.

To use this module you should:

  • Enable the module
  • Add in the relevant view's header the php
    print get_exposed_filter_output();
    
  • Theme the content in any way you like by creating your own exposed_filter_data.tpl.php
  • All of the exposed filters are available in the $exposed_filters variable inside the template file.

    The basic template is not very useful since it does not have the proper labels of the filters.

    Supporting organizations: 
    8.x-1.x branch development
    Sponsored 8.x-1.x branch development

    Project information

    Releases