1
如何使用loca.xml插入塊?如何使用local.xml在Magento 1.8中插入塊?
我想靜態塊(標識符:footer_links)插入來自CMS到這個頁腳塊inside
我page.xml,但before
footer_links,
<block type="core/template" name="bottom.footer" as="bottom.footer" template="page/html/footer-bottom.phtml">
<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
</block>
這是配置在我local.xml中,
<block type="cms/block" name="cms_footer_links" before="footer_links">
<!--
The content of this block is taken from the database by its block_id.
You can manage it in admin CMS -> Static Blocks
-->
<action method="setBlockId"><block_id>footer_links</block_id></action>
</block>
有可能嗎?