2
A
回答
6
在的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> <script>$('magepal_block').src = SKIN_URL + "images/magepal/magepal.png";</script>]]></label>
<sort_order>400</sort_order>
</magepal>
</tabs>
穿戴圖像(尺寸158×18)
/skin/adminhtml/default/default/images/magepal/magepal.png
3
一個更清晰的解決方案是將一個css類添加到該選項卡,然後使用在adminhtml佈局定義中定義的css文件的樣式。
<?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>
....
相關問題
- 1. 如何在動態輸入組中爲magento管理員配置設置添加圖像字段?
- 2. Magento - 瞭解管理配置頁面中納稅標籤下的計算設置
- 3. 如何在magento自定義管理模塊的標籤下添加網格?
- 4. 在RefineryCMS中爲圖像添加標籤
- 5. 在Datatable中添加圖像標籤
- 6. Magento Google標籤管理器手動
- 7. Magento上的錯誤標籤配置
- 8. 的onclick添加到圖像標籤
- 9. 添加標籤項目/設置選項卡[管理平臺]
- 10. Magento的 - 管理多圖像和
- 11. 添加新fileld在Magento管理部分管理類頁
- 12. 如何添加鍵在設置應用的web配置的標籤與像「和」
- 13. Magento:爲現有管理模塊添加新字段system.xml,標籤未翻譯
- 14. 谷歌標籤管理器在錯誤的地方添加了標籤url
- 15. 將標籤添加到圖像NodeJS ImageMagick
- 16. iOS UITableViewCell添加標籤和圖像
- 17. LWUIT:將GIF圖像添加到標籤
- 18. 將隨機圖像添加到標籤
- 19. 將圖像添加到標籤建議
- 20. 如何將圖像添加到標籤?
- 21. 使用選項標籤添加圖像
- 22. 將alt標籤添加到圖像 - Drupal
- 23. 無法添加更多圖像__標籤
- 24. 如何在magento管理端添加新產品添加頁面?
- 25. Magento - 添加管理員質量
- 26. Magento:添加到管理菜單
- 27. Magento模塊上傳管理圖像
- 28. magento中的產品管理員圖像選項卡位置
- 29. 在magento中添加CSV圖像url
- 30. Jquery - 爲活動Carousel圖像的圖像標籤添加類