2

I want to add image in

Admin Panel -> System -> Configuration -> "Left Menu Tab" ( Here )

just see following image what i want to do :

enter image description here

Any Solutions..??

Thanks in Advance.

LuFFy
  • 8,799
  • 10
  • 41
  • 59

2 Answers2

6

In system.xml

<?xml version="1.0"?>
<config>
    <tabs>
        <magepal translate="label" module="magepal">
            <label><![CDATA[<div style="position: absolute;"><img id="magepal_block" src="" alt="" border="0" /></div>&nbsp;<script>$('magepal_block').src = SKIN_URL + "images/magepal/magepal.png";</script>]]></label>
            <sort_order>400</sort_order>
        </magepal>
    </tabs>

Put image in (size 158 x 18)

/skin/adminhtml/default/default/images/magepal/magepal.png

MagePal Extensions
  • 17,646
  • 2
  • 47
  • 62
3

A bit of a cleaner solution would be to add a css class to the tab, then style with a css file defined in an adminhtml layout definition.

<?xml version="1.0"?>
<config>
    <tabs>
        <magepal translate="label" module="magepal">
            <label>MagePal</label>
            <sort_order>400</sort_order>
            <class>admin-system-config-magepal</class>
        </magepal>
    </tabs>
    ....
Mark Shust at M.academy
  • 6,300
  • 4
  • 32
  • 50