Components
- Code
- Documentation
- Miscellaneous
- User interface
- New release
Images
Licence
http://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlpermet de créer des filtres de recherche en autocomplete
Release
Covered by Drupal's security advisory policy
Covered by Drupal's security advisory policy
Release type : Bug fixes
Description
Introduction
The Views Autocomplete Filters module extends views text fields filter with autocomplete functionality. The supported filters are:
-
"combine"
- allows to search on multiple fields (core/views). -
"search_api_fulltext"
- fulltext search (search_api). -
"search_api_text"
- fulltext fields search (search_api). -
"string"
- allows to search on multiple fields (core/views).
Some benefits of the Views Autocomplete Filters are:
- Quick find the desired entity by its title or unique text field
- Find all entities that shares a common string value from a field. Example: All nodes that are created by a specific user name.
Requirements
This module requires the following module:
- Views - core module.
Integrations
This module integrates with the following module:
-
Search API - https://www.drupal.org/project/search_api.
It extend text search field filters
Configuration
- Enable the module at Administration > Extend.
- Navigate to Administration > Structure > Views and create a View Page and chose desired "Display format" of "fields" for the desired content entities.
- Add the field that you want to autocomplete filter, for example "Title".
- Add the same field filter and set it "Exposed".
- Be sure you select the right operator, usually "Contains" option is desired.
- Then you should have the "Use Autocomplete" checkbox available.
- After you checked this option you will abe able to see this module filter settings.
- You will need to select "Field with autocomplete results", for the example given, chose "Title".
- Wii all those configuration set you should be able to have an autocomplete filter available for the view created.
You could also build filters of the referenced entities fields by using View Advanced "Relationships" configuration. You need to make sure you add the correct "Relationship" and then add the desired field and filter of the referenced entities using this relationship.
"Non Drupal" Supporting organizations:
some D7 development & maintenance TOP EXPRESS
Initially sponsored by: viennaresidence
Supporting individuals:
Tavi Toporjinschi - vasike
Toutes les informations proviennent du site drupal.org