Page 1 of 1

Feature Request for 'Phoca Collapse System Plugin'

Posted: 07 Aug 2025, 07:22
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

Re: Feature Request for 'Phoca Collapse System Plugin'

Posted: 08 Aug 2025, 14:34
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

Re: Feature Request for 'Phoca Collapse System Plugin'

Posted: 08 Aug 2025, 15:10
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.

Re: Feature Request for 'Phoca Collapse System Plugin'

Posted: 11 Aug 2025, 14:23
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