Download the PHP package heimrichhannot/contao-entity-filter-bundle without Composer
On this page you can find all versions of the php package heimrichhannot/contao-entity-filter-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download heimrichhannot/contao-entity-filter-bundle
More information about heimrichhannot/contao-entity-filter-bundle
Files in heimrichhannot/contao-entity-filter-bundle
Package contao-entity-filter-bundle
Short Description This module offers an input type for selecting one or more entities by comfortably 'clicking together' sql-like conditions.
License LGPL-3.0-or-later
Informations about the package contao-entity-filter-bundle
Contao Entity Filter Bundle
This module offers an input type for selecting one or more entities by comfortably "clicking together" sql-like conditions.
Features
- "click together" conditions for filtering (aka selecting) arbitrary contao entities
- load existing filter conditions from other records
- display a result list of your filtering right in the contao record's edit view
Technical instructions
This module offers 3 comfortable different functions for adding the widgets mentioned before right to your dca.
Note: Of course, you can also copy these 3 functions and customize them if they don't suit your needs
Add the entity filter widget to your dca:
Hint: If you like to set the table to be filtered dynamically, you can do that in an onload_callback
.
But you still have to call the following function in your dca and not the callback because else exclude
wouldn't be set correctly.
Add a field for copying entity filters from other records:
Add a live-reloaded table for showing the results of your conditions:
Events
Name | Arguments |
---|---|
ModifyEntityFilterQueryEvent |
string $table , string $field , $activeRecord , string $query , string $where , array $values , array $listDca |
All versions of contao-entity-filter-bundle with dependencies
contao/core-bundle Version ^4.13 || ^5.0
heimrichhannot/contao-utils-bundle Version ^2.0 || ^3.0
heimrichhannot/contao-multi-column-editor-bundle Version ^2.19
heimrichhannot/contao-list-widget-bundle Version ^1.3@alpha
heimrichhannot/contao-field-value-copier-bundle Version ^1.3@beta
symfony/dependency-injection Version ^4.4 || ^5.4 || ^6.4
symfony/event-dispatcher-contracts Version ^1.0 || ^2.0 || ^3.0