Conversation
At some point in the past when layouts were added the design of the global configuration text filters was changed and it looks odd This PR adds a new layoout just for text filters without the big empty space
|
I have tested this item ✅ successfully on 1ee6f69 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17113. |
zero-24
left a comment
There was a problem hiding this comment.
Please use this:
<fieldset class="<?php echo !empty($displayData->formclass) ? $displayData->formclass : 'form-horizontal'; ?>">
<legend><?php echo $displayData->name; ?></legend>
<?php if (!empty($displayData->description)) : ?>
<p><?php echo $displayData->description; ?></p>
<?php endif; ?>
<?php $fieldsnames = explode(',', $displayData->fieldsname); ?>
<?php foreach ($fieldsnames as $fieldname) : ?>
<?php foreach ($displayData->form->getFieldset($fieldname) as $field) : ?>
<div><?php echo $field->input; ?></div>
<?php endforeach; ?>
<?php endforeach; ?>
</fieldset>|
Why have every PHP line wrapped in ?PHP I just took the existing layout and removed the things we don't need here. |
because it is a layout file ;) And this is supposed to have that ;) |
|
Where is this file so i can correct it there too :) |
|
Joomla.contemt.options_default |
|
@brianteeman check out the section on layouts: https://developer.joomla.org/coding-standards/php-code.html |
|
I was only working from an existing layout :( I will update it as requested |
|
I have done the original too #17123 |
|
can this be retested please |
|
I have tested this item ✅ successfully on d3b2a52 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17113. |
1 similar comment
|
I have tested this item ✅ successfully on d3b2a52 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17113. |
|
RTC after two successful tests. |
* staging: (274 commits) Add JCryptCipherSodium to support libsodium (joomla#16754) Performance 2 (libraries/legacy) (joomla#12220) Performance 6 (templates) (joomla#12233) Fixed typehint (joomla#16425) Fix for: Repeatable field is no longer rendered with Chosen layout (joomla#16471) Fix the path for the ajax-loader.gif (joomla#16701) Menu items list parent filter (joomla#17060) Text Filters layout (joomla#17113) mod_login showon option (joomla#17153) com_banners incorret tooltip (joomla#17157) fix joomla.content.options_default (joomla#17123) remove the never working limitstart call (joomla#17184) Update phpDocumentor build set 3.8.0 Dev State Prepare 3.7.4 Stable Release fixed a logic change in joomla#12294, thanks @Hoffi1 Update sv-SE.ini Update pt-BR.ini Update lv-LV.ini Update fa-IR.ini ...
|
Thanks |
At some point in the past (3.6.5?) when layouts were added the design of the global configuration text filters was changed and it looks odd
This PR adds a new layout just for text filters without the big empty space
Pull Request for Issue #15423
Before
After