【发布时间】:2014-03-13 21:33:32
【问题描述】:
我正在尝试扩展 magento 类 Mage_Cms_Block_Block。我已经激活了我的模块。我认为它失败的原因与config.xml有关。
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<VisibleBlocks_ShowBlocks>
<!-- The version of our module, starting at 0.0.1 -->
<version>0.0.1</version>
</VisibleBlocks_ShowBlocks>
</modules>
<global>
<blocks>
<mage_cms>
<rewrite>
<cms_blocks>VisibleBlocks_ShowBlocks_Block_Border</cms_blocks>
</rewrite>
</mage_cms>
</blocks>
</global>
</config>
有人可以向我解释一下全局标签中的标签是什么意思吗? rewrite里面的标签可以叫什么吗?
【问题讨论】:
标签: magento