Views block override
This module allows overriding views contextual arguments and exposing sort from the block setting form.
For a full description of the module, visit the project page.
Submit bug reports and feature suggestions, or track changes in the issue queue.
Table of contents
- Requirements
- Recommended modules
- Installation
- Configuration
- Maintainers
Requirements
This module requires the following modules:
Recommended modules
Installation
Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Configuration
General usage
When adding a new views display for your block, choose 'Block with overrides'. Additional checkboxes for overriding contextual filters and exposing sort will be available at 'override settings'.
Autocomplete
If you add a validation criteria on an entity type on the contextual argument, that will trigger an autocomplete field on the block form.
Multiple contextual filters
When configuring multiple contextual filters, the grouping of these filters is done by an AND condition. If you want to change the condition to OR, we suggest you use the Views Contextual Filters OR module.
Usage with Paragraphs
Used in combination with a block field, this gives a lot of flexibility for usage with Paragraphs.
Usage with Layout Builder
This gives a lot of flexibility for usage with Layout Builder.
Maintainers
This project has been sponsored by:
- Calibrate In the past fifteen years, we have gained large expertise in consulting organizations in various industries.