2
我只是試圖添加addtional模板文件,以在右側欄中包含內容塊但失敗。將附加模板添加到右側欄magento
下面是我的心血
在local.xml文件,添加
<reference name="right">
<block type="cms/template" name="right.side.template">
<action method="setTemplate">
<template>callouts/right_template.phtml</template>
</action>
</block>
</reference>
我也試過這個
<block type="cms/template" template="callouts/right_template.phtml"/>
,並創建一個模板文件標註/ right_template.phtml。
但它沒有加載右側欄中的模板文件內容。
我該怎麼辦?我清除了magento緩存。