Feature Request for 'Phoca Collapse System Plugin'

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
no64
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Aug 2025, 17:42

Feature Request for 'Phoca Collapse System Plugin'

Post by no64 »

This Plugin is a great addition and a missing feature.

However, I have a few suggestions:

- Make the "Show/Hide" button hidden, if the Subform is not repeatable.
- Rename the "Show/Hide" button to "Show/Hide All", or add an option to customize the name.
- Add an option to have the subforms be collapsed by default on page load.
- A button to separately collapse a single Subform - like the "Minus/Plus" buttons.

For me these additions would make working with the subforms even clearer.
Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48896
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Feature Request for 'Phoca Collapse System Plugin'

Post by Jan »

Hi, thank you for the ideas, I will take a look at them, not sure, if e.g. it is possible to display it based on the type of form (if Joomla sends such information that the form includes subforms, etc.)
https://github.com/PhocaCz/PhocaCollapse/issues/1
Thank you, Jan
If you find Phoca extensions useful, please support the project
no64
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Aug 2025, 17:42

Re: Feature Request for 'Phoca Collapse System Plugin'

Post by no64 »

Hi Jan,

... it seems the Subform has a class of " .subform-repeatable ", also if it is not repeatable, so this is nothing to rely on.
However, it is possible to set a custom class to the field in the 'options' of the field - maybe it would be possible to use that as a workaround.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48896
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Feature Request for 'Phoca Collapse System Plugin'

Post by Jan »

The problem with subforms, they are fully managed by Joomla, no no idea, if it will be possible to somehow modify this feature from outside :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply