Create a config.xml file or use the component.xml file to add a note:
<field
name="note_exceptions"
type="note"
class="alert alert-info"
close="true"
label="PLG_SYSTEM_MYPLUGIN_FIELD_OVERRIDE_LBL"
description="PLG_SYSTEM_MYPLUGIN_FIELD_OVERRIDE_DESC"
/>
Open up the options of the component/plugin and check the note. It produces a blue alert window which can be closed with a title and description. But the description is repeated once more below the alert-window in text-muted style (without the title).
Show the alert-window with the title and description without a repetition of the description below the alert-window.
It produces a blue alert-window which can be closed with a title and description. The description is repeated once more below the alert-window in text-muted style (without the title).
Joomla! 4-alph6 running Xampp with PHP 7.2.5 and MySQLi 5.0.12-dev-20150407
The file "/layouts/joomla/form/renderfield.php" contains exta lines after the <div class="controls"...>:
<?php if (!empty($description)) : ?>
<div id="<?php echo $id; ?>">
<small class="form-text text-muted"><?php echo $description; ?></small>
</div>
<?php endif; ?>
Removing these will solve the issue but I guess they are there for a reason because it's used as a description below the input fields. A check fot field type so it will not show the line duplicated when it's a "note" field?
Status | New | ⇒ | Information Required |
@infograf768 reminder.
??
@infograf768 meant Comment
thanks for Comment @infograf768
Labels |
Added:
J3 Issue
|
this issue was reported on Joomla! 4-alpha-6...
hopefully has been resolved
@franz-wohlkoenig please close
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-10 17:37:22 |
Closed_By | ⇒ | franz-wohlkoenig |
@infograf768 can you please comment?