-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added label to system.xml #3577
Conversation
will test asap |
Oh yes, true, I can remove it. |
loool, good catch! This will fix them: |
app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Label.php
Outdated
Show resolved
Hide resolved
app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Label.php
Outdated
Show resolved
Hide resolved
|
Co-authored-by: Ng Kiat Siong <kiatsiong.ng@gmail.com>
Why not use the existing |
Because we must pass config data from $label->setValue($field->value);
$label->setBold(!empty($field->bold)); |
ok understood the idea now 👍 (the But wouldn't it make more sense then to have a more flexible label with HTML values allowed in general (so the <frontend_type>note</frontend_type>
<frontend_model>adminhtml/system_config_form_field_label</frontend_model> and then do a Though I agree with @fballiano that the naming is not really intuitive.. |
IMHO the current implementation is a bit too limited:
|
Description
This PR add the label field to system.xml, this is an extract of #2739:
XML of the preview:
Contribution checklist