【问题标题】:Place a logo in Magento在 Magento 中放置徽标
【发布时间】:2016-10-12 09:48:33
【问题描述】:

我正在处理 Magento 的自定义模块,我想在 config->sales->payment methods->module 中放置一个徽标。这是我要添加徽标的地方。

我尝试使用CDATA,但无法正确实现。有人可以帮我吗?给出一个代码,我必须在 system.xml 文件中添加一个标签标签。

【问题讨论】:

  • 点击上面问题的“这个”查看图片。请。在高级中表示感谢

标签: html css xml magento-1.9


【解决方案1】:
<newgengiropay translate="label comment" module="newgengiropay">
    <label>
        <![CDATA[
            <div style="position:absolute;">
                <img id="newgengiropay_block" src="" alt="" border="0" />
                <span style="display:inline;position:absolute;right:0px; ">Giropay</span>
            </div>
            &nbsp;
            <script>$('newgengiropay_block').src = SKIN_URL + "images/newgengiropay/newgen.png";</script>
        ]]>
    </label>
</newgengiropay>

【讨论】:

  • 得到了我的答案,你们可以去看看。
猜你喜欢
  • 2013-06-03
  • 2019-10-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-09-25
  • 1970-01-01
  • 2020-10-11
  • 1970-01-01
相关资源
最近更新 更多