Skip to content
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

New feature: added support for type "label" to system.xml #3849

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

fballiano
Copy link
Contributor

Since in #3577 there wasn't much consensus I tried a different approach.

Simply add this to your system.xml:

<testlabel>
    <label><![CDATA[Innermost dimensions, <strong>not including border</strong>, in pixels.]]></label>
    <frontend_type>info</frontend_type>
    <show_in_default>1</show_in_default>
    <show_in_website>1</show_in_website>
    <show_in_store>1</show_in_store>
</testlabel>

and you'll get something like:

Screenshot 2024-02-23 alle 19 06 01

Closes #3577

@github-actions github-actions bot added Template : admin Relates to admin template Component: lib/Varien Relates to lib/Varien Component: Adminhtml Relates to Mage_Adminhtml Component: lib/* Relates to lib/* labels Feb 23, 2024
Copy link
Contributor

@kiatng kiatng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested.

@fballiano fballiano changed the title Added support for type "label" to system.xml New feature: added support for type "label" to system.xml Feb 27, 2024
@fballiano fballiano merged commit 6f441b5 into OpenMage:main Feb 27, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: lib/Varien Relates to lib/Varien Component: lib/* Relates to lib/* Template : admin Relates to admin template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants