.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. _filtersInResultList: Render filters in result list ============================= Since version 3.9.0 it is possible to show filters also in the result list plugin which gives you more flexibility in placing them in relation to the result list. This is useful if you want to show e.g. the filters in the right-hand side and only if they are present. HowTo ~~~~~ Create a `Resources/Private/Partials/FiltersForm.html` which is a modification of the `Resources/Private/Partials/Filters.html` which looks like: .. code-block:: none Add a `Resources/Private/Partials/FiltersResults.html` which contains: .. code-block:: none {filter.rawHtmlContent} In `Resources/Private/Templates/ResultList.html` include: .. code-block:: none
And in `Resources/Private/Templates/SearchForm.html` include: .. code-block:: none