? Success

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
4 Jan 2015

I changed the template how Joomla renders the fields in an backend edit view. In detail, the template generates a div-element with the css class "control-group ". Always with an additional space at the end of the css class "control-group".

My fix sets the css class to "control-group" if there is no additional css class. (without the additional space) else the space is added.

Use the 'renderFieldset' function in the 'JForm' class, Joomla uses the layout in renderfield.php to create the form fields.

The output of this method is not the same as in the Joomla core extensions. This fix makes the output consistent with the Joomla core extension template.

How to test

  • Access a article and e.g. use Firebug to see the HTML Code for a renderd field.
  • use the view-source option of your browser to see the renderd field
  • apply this patch e.g. vie com_patchtester
  • see the same field again

New PR for: #5200 against staging. Code and credit by @Wolf-Rost

avatar zero-24 zero-24 - open - 4 Jan 2015
avatar jissues-bot jissues-bot - change - 4 Jan 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 4 Jan 2015
Category Layout UI/UX
avatar infograf768
infograf768 - comment - 5 Jan 2015

@test
Looks fine here.

avatar zero-24
zero-24 - comment - 5 Jan 2015

Thanks @wilsonge

avatar peterlose
peterlose - comment - 5 Jan 2015

@test All good!

avatar losedk losedk - test_item - 5 Jan 2015 - Tested successfully
avatar zero-24 zero-24 - alter_testresult - 5 Jan 2015 - infograf768: Tested successfully
avatar zero-24 zero-24 - change - 5 Jan 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 5 Jan 2015

Thanks @infograf768, @losedk and @wilsonge moving to RTC


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

avatar infograf768 infograf768 - change - 6 Jan 2015
Milestone Added:
avatar infograf768 infograf768 - reference | 9ddd3a0 - 6 Jan 15
avatar infograf768 infograf768 - merge - 6 Jan 2015
avatar infograf768 infograf768 - close - 6 Jan 2015
avatar infograf768 infograf768 - close - 6 Jan 2015
avatar infograf768 infograf768 - change - 6 Jan 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-01-06 08:05:08
avatar zero-24 zero-24 - head_ref_deleted - 6 Jan 2015

Add a Comment

Login with GitHub to post a comment