? Success

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
30 Oct 2016

This is an alternative PR to #12419 based on the suggestion by @coolcat-creations

Summary of Changes

A PR to add some styling to repeatable subforms (joomla.form.field.subform.repeatable).

Testing Instructions

Create ../modules/mod_login/test.xml to which add the following...

<?xml version="1.0" encoding="UTF-8"?>
<form>
    <fieldset name="sample" class="sample-subform">
        <field name="image" type="media" default="" label="Sample Field 1"  description="Desc1" size="30" />
        <field name="text" type="text" default="" label="Sample Field 2" description="Desc2" />
        <field name="color" type="color" default="#dddddd" label="Sample Field 2" description="Desc2" />
    </fieldset>
</form>

Add the following to the ../modules/mod_login/mod_login.xml file:

<field name="subformtest" type="subform" formsource="modules/mod_login/test.xml" class="advancedSelect" min="0" max="50" multiple="true" layout="joomla.form.field.subform.repeatable" groupByFieldset="true" label="Repeatable Subform" description="Desc" />

Before Patch
repeatable1

After Patch
repeatable3

Note: Tried changing the icons directly (../layouts/joomla/form/field/subform/repeatable/secion.php) however any changes here did not reflect within the form. Possibly the wrong place? Changed the icons with CSS instead which is not ideal.

Documentation Changes Required

None

avatar ciar4n ciar4n - open - 30 Oct 2016
avatar ciar4n ciar4n - change - 30 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2016
Category Administration Templates (admin)
avatar C-Lodder
C-Lodder - comment - 30 Oct 2016

The template.less is becoming extremely bulky now. We're using LESS, so I think it's time to start separating stuff into separate files, so it's easier to maintain.

+1 for the styling changes though, looking good.

avatar ciar4n
ciar4n - comment - 30 Oct 2016

@C-Lodder I tend to agree with you. Not sure what would be the best way to categorize/split the file up, at least in a way that would be easily maintained in the future. Currently it is beginning to look like a long list of PRs.

avatar Fedik
Fedik - comment - 1 Nov 2016

please, do not forget, there also joomla.form.field.subform.repeatable-table layout, for render fields as table.
whether current changes do not break that layout?

avatar coolcat-creations coolcat-creations - test_item - 14 Nov 2016 - Tested successfully
avatar coolcat-creations
coolcat-creations - comment - 14 Nov 2016

I have tested this item successfully on 9f46c68

Thank you!!!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12634.

avatar ciar4n
ciar4n - comment - 14 Nov 2016

@Fedik ? Changes here will have no effect on joomla.form.field.subform.repeatable-table

avatar ciar4n
ciar4n - comment - 14 Nov 2016

@coolcat-creations Thank you for testing. I'd be happy to go with this over #12419 if you are.

avatar coolcat-creations
coolcat-creations - comment - 14 Nov 2016

Cool, thank you! Then we need just a second test. Thank you for this improvement!

avatar zero-24
zero-24 - comment - 14 Nov 2016

I have tested this item successfully on 5feab1a

?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12634.

avatar zero-24 zero-24 - test_item - 14 Nov 2016 - Tested successfully
avatar zero-24 zero-24 - alter_testresult - 14 Nov 2016 - coolcat-creations: Tested successfully
avatar zero-24 zero-24 - change - 14 Nov 2016
The description was changed
Milestone Removed:
Status Ready to Commit Pending
avatar zero-24 zero-24 - change - 14 Nov 2016
Milestone Added:
avatar zero-24 zero-24 - change - 14 Nov 2016
The description was changed
Milestone Added:
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 14 Nov 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12634.

avatar zero-24 zero-24 - change - 14 Nov 2016
The description was changed
avatar zero-24 zero-24 - edited - 14 Nov 2016
avatar zero-24 zero-24 - change - 14 Nov 2016
Status Pending Ready to Commit
avatar joomla-cms-bot joomla-cms-bot - change - 14 Nov 2016
Milestone Removed:
avatar zero-24 zero-24 - change - 14 Nov 2016
Milestone Added:
avatar zero-24 zero-24 - change - 14 Nov 2016
Milestone Added:
avatar zero-24 zero-24 - change - 14 Nov 2016
Labels Added: ?
avatar rdeutz rdeutz - change - 15 Nov 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-11-15 21:33:55
Closed_By rdeutz
avatar rdeutz rdeutz - close - 15 Nov 2016
avatar rdeutz rdeutz - merge - 15 Nov 2016
avatar rdeutz rdeutz - reference | d4a5223 - 15 Nov 16
avatar rdeutz rdeutz - merge - 15 Nov 2016
avatar rdeutz rdeutz - close - 15 Nov 2016

Add a Comment

Login with GitHub to post a comment