customize filter table template

tutux

Member
Hi,

I would like to customize the filter table list. The proble, in fabrik 3 bootstrap, is that there is no filter_default.php file... i don't know how to change it...

thank you for your help ! :)
 
I already did it ... i didn't have any problem in fabrik 2.5, but it doesn't work in bootstrap fabrik 3X .... :)
There is no
 
In default.php file replace
PHP:
echo $this->layoutFilters();
with
PHP:
echo $this->loadTemplate('filter');
 
No need to do that. The filters are now done as layouts rather than a template, see the various fabrik-filter* files in ./components/com_fabrik/layouts/list, and the wiki on how to override layouts on a per site template or per list template basis.

-- hugh
 
So to alter the standard filter layout for all lists, copy ...

./components/com_fabrik/layouts/list/fabrik-filters.php

.. to ...

./templates/{current-joomla-template}/html/layouts/com_fabrik/list/fabrik-filters.php

... and make your changes.

To just change it for a specific list template, copy it to ...

./components/com_fabrik/views/list/tmpl/<your template>/layouts/fabrik-filters.php

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top