How to call CMS static block in footer.phtml in Magento? kindly help me. for this
我尝试了以下代码,但没有工作
getLayout()createBlock( 'CMS /块')setBlockId( '页脚')toHtml(); ?>答案 0 :(得分:1)
你试过这可能会有所帮助。
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('footer')->toHtml(); ?>
答案 1 :(得分:0)
像这样调用CMS块:
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('footer')->toHtml() ?>