?
avatar jayblaq
jayblaq
1 May 2017

Steps to reproduce the issue

Create a parameter XML for a template add the sub form field code to the XML as described in the documentation

https://docs.joomla.org/Subform_form_field_type

I have tested with the example code and my code and neither work. Here is my code:

style1.xml

basecolors_subform.xml

Base Color 1 Base Color 2 Base Color 3 Base Color 4 Base Color 5 Base Color 6 Body Text H1 H2 H3 H4 H5 H6 Global Link Link Hover Link Active

Expected result

After selecting the Parameter values and saving the subform field parameters should be saved

Actual result

None of the parameters save

System information (as much as possible)

Joomla 3.6, Joomla 3.7

Additional comments

avatar jayblaq jayblaq - open - 1 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 May 2017
avatar jayblaq jayblaq - edited - 1 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 1 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 1 May 2017
The description was changed
avatar franz-wohlkoenig franz-wohlkoenig - change - 1 May 2017
Category Fields
avatar hieblmedia
hieblmedia - comment - 11 May 2017

Confirm this.

There are two ways to implement a subform.

Direct manipulation to type=subform on 'onCustomFieldsPrepareDom'. This does create the count of subform fields as duplicate field_id/item_id entries in #__fields_values table with values of one entry.

Or with an custom field type in /fields/ sub-directory. This also does not work. No values are saved.

avatar Bakual
Bakual - comment - 11 May 2017

@hieblmedia Custom fields don't support subforms. So that is quite expected to fail. But I think the OP refers to using subforms in the template XML, which is a different thing.

@jayblaq Is this the same as #15958 ?

avatar jayblaq
jayblaq - comment - 11 May 2017

The main issue that needs to be resolved is using JS in the sub forms such as color picker etc.

avatar Fedik
Fedik - comment - 11 May 2017

@jayblaq please test that #15974

avatar Bakual
Bakual - comment - 11 May 2017

Closing as we have a PR

avatar Bakual Bakual - change - 11 May 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-05-11 18:46:33
Closed_By Bakual
avatar Bakual Bakual - close - 11 May 2017

Add a Comment

Login with GitHub to post a comment