【发布时间】:2017-04-05 10:10:58
【问题描述】:
我正在为 Oxid E-shop 制作新插件。在我的元数据文件中,描述、标题、徽标完美运行,我可以在后端看到插件,但是当我激活插件时,前端没有任何变化。块不会被覆盖。
/modules/myModule/metadata.php
'blocks' => array(
array(
'template' => 'layout/footer.tpl',
'block' => 'footer_main',
'file' => '/views/blocks/layout/footer.tpl'
)
我现在只有一个简单的页脚示例。
/modules/myModule/views/blocks/layout/footer.tpl
[{block name="footer_main"}]
<div class="footer-base">Schuberth test !</div>
[{/block}]
应覆盖的模板位置:/application/views/azure/tpl/layout/footer.tpl
【问题讨论】:
标签: php smarty e-commerce oxid