Modify filter-layout in list-view

manne-hoffmann

New Member
Hello there,
according to the wiki there is a way to modify the filters-layout in list-view:
Modifying the Filters template (top)
Advanced Fabrik users can user Joomla's template override functionality to modify how Fabrik lays out the filter area for users.

The template file that is used to render the filter form is located in:
components/com_fabrik/views/list/{tmpl}/default_filter.php

This information seems to be outdated, because I cannot find default_filter.php.

The only thing I find (in com_fabrik/views/list/bootstrap/default.php) is this:
PHP:
if ($this->showFilters && $this->bootShowFilters) :
    echo $this->layoutFilters();
endif;
This looks like all filters are only rendered as one "block"

Is there a method to render each filter separately in order to make a custom list-view with a custom layout for the filters?

Looking forward to your answers,
Manfred

EDIT: I am using Joomla 3.9.1 with Fabrik 3.9
 
Yup, filter display is now done via overrideable layout files in component/com_fabrik/layouts/list
I think it's
fabrik-filters-bootstrap.php
 
Hello ! Did you find any solution on that? I also need 2 blocks because ordering is not the same in mobile. I m very confused on that
 
You can edit your filters (with Bootstrap templates) by creating an override of the bootstrap filter by copying the file:
components/com_fabrik/layouts/list/fabrik-filters-bootstrap.php
to (create necessary directories if they do not exist):
components/com_fabrik/views/list/tmpl/{your template}/layouts/list/fabrik-filters-bootstrap.php
And then editing that override. The filters are created starting from line 39 and placed in the $chunkedFilters array.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top