Download the PHP package heimrichhannot/contao-filter-bundle without Composer

On this page you can find all versions of the php package heimrichhannot/contao-filter-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package contao-filter-bundle

Contao filter bundle

This bundle offers a generic filter module to use with arbitrary contao entities containing standard filter with initial filters and filter form types including symfony form type representations.

Features

Usage

Install

  1. Install with composer or contao manager

  2. Update database

We recommend to use this bundle toghether with List Bundle and Reader Bundle.

Setup

  1. Create a filter configuration within System -> Filter & sort configuration
  2. Add filter elements to the filter config.
  3. If you want to show the filter somewhere (for example to filter a list), create a filter/sort frontend module.

Wrapper elements (DateRange, ProximitySearch, ...)

The Wrapper element has to be places before the fields associated with them. For example the date_range wrapper element needs to be placed before the two associated date fields.

Preselect

Filter Bundle Forms are not typical GET-Forms, so it is not possible to simple copy the filter urls to share or bookmark a filtered list. To overcome this limitation, preselect urls can be generated. Preselect urls for the current filter can be found within template variabled, you can create a preselect content element or get the url programmatically from the FilterConfig.

Template variables

If a filter is set, the variable preselectUrl contains the preselection url for the current filter. It's available in the filter templates and the frontend module template.

You can for example create a copy preselect url button:

Content element

You can use one of the following content elements:

FilterConfig

You can generate the preselect link from the FilterConfig instance

Inserttags

Insert tag Arguments Description
{{filter_reset_url::*::*}} filter ID :: page ID or alias This tag will be replaced with a reset filter link to an internal page with (replace 1st with the filter ID, replace 2nd with the page ID or alias)

Further documentation

Developer introductions Templates


All versions of contao-filter-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ausi/slug-generator Version ^1.0
codefog/contao-haste Version ^4.18 || ^5.0
contao/core-bundle Version ^4.9
heimrichhannot/contao-be_explanation-bundle Version ^2.3
heimrichhannot/contao-encore-contracts Version ^1.0
heimrichhannot/contao-entity-filter-bundle Version ^1.5
heimrichhannot/contao-fieldpalette-bundle Version >=0.6.12 <2.0-dev
heimrichhannot/contao-multi-column-editor-bundle Version ^2.0
heimrichhannot/contao-utils-bundle Version ^2.226
heimrichhannot/contao-twig-support-bundle Version ^0.2.16||^1.0
symfony/config Version ^4.4||^5.4
symfony/dependency-injection Version ^4.4||^5.4
symfony/event-dispatcher-contracts Version ^1.0 || ^2.0 || ^3.0
symfony/event-dispatcher Version ^4.4||^5.4
symfony/form Version ^4.4||^5.4
symfony/framework-bundle Version ^4.4||^5.4
symfony/http-foundation Version ^4.4||^5.4
symfony/http-kernel Version ^4.4||^5.4
symfony/intl Version ^4.4||^5.4
symfony/options-resolver Version ^4.4||^5.4
symfony/property-access Version ^4.4||^5.4
symfony/routing Version ^4.4||^5.4
symfony/translation Version ^4.4||^5.4
symfony/translation-contracts Version ^1.0 || ^2.0 || ^3.0
twig/extra-bundle Version ^3.0
twig/html-extra Version ^2.12||^3.0
twig/intl-extra Version ^2.12||^3.0
twig/string-extra Version ^2.12||^3.0
ext-pdo Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package heimrichhannot/contao-filter-bundle contains the following files

Loading the files please wait ....