Improved theme suggestions for exposed forms / filters

Created on 22 March 2018, almost 7 years ago
Updated 6 May 2024, 8 months ago

It is challenging to theme exposed filters (aka exposed forms for filtering views) and this module is probably a good place to put improvements.

Also note that $form_id in the alter is always == 'views_exposed_form' for any exposed form and $form['#id'] is actually where the name of the block is (e.g. "views-exposed-form-block-1"). Not obvious!

Twigs such as views-exposed-form--MY-VIEW-NAME.html.twig may work as well. (as noted here on a thread mostly about 7)

See also:

If I have a good general patch to offer later I will submit it here. Thanks for your work on this module!

✨ Feature request
Status

Downport

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hongpong Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024