Page 1 of 1

filter panels collapsed by default?

Posted: 14 Nov 2018, 12:52
by MM0233
Hello again.
is it possible to have the filter panels collapsed by default?

Re: filter panels collapsed by default?

Posted: 17 Nov 2018, 16:24
by Jan
Hi, it is managed by Bootstrap, so you can edit the layouts (or override them)

For example all text form filter fields are displayed by:
components\com_phocacart\layouts\form_filter_text.php

Just open this file and find the string "collapse in" and remove the "in" (it is inside class attributes). This can be done for all other layouts.


Image

Image

Jan

Re: filter panels collapsed by default?

Posted: 19 Nov 2018, 13:37
by MM0233
Thank you so much. Solved! Goodbye.

Re: filter panels collapsed by default?

Posted: 19 Nov 2018, 18:31
by Jan
Ok

Re: filter panels collapsed by default?

Posted: 26 Aug 2019, 16:08
by Jan
Hi, since version 3.3.2
https://www.phoca.cz/news/1058-phoca-ca ... 2-released

you can set it in parameters:

- collapse all
- display all
- display only which are active (which have some active item inside)

Jan