Php 如何通过管理员使用自定义模板和自定义布局更新修改类别页面
我创建了一个自定义模板,用于显示类别中的子类别。我希望通过在“自定义布局更新”字段中使用xml覆盖,允许按类别使用此模板脚本。我不想将任何.xml布局文件修改为,以便能够通过管理员将此模板仅应用于特定类别Php 如何通过管理员使用自定义模板和自定义布局更新修改类别页面,php,xml,zend-framework,magento,Php,Xml,Zend Framework,Magento,我创建了一个自定义模板,用于显示类别中的子类别。我希望通过在“自定义布局更新”字段中使用xml覆盖,允许按类别使用此模板脚本。我不想将任何.xml布局文件修改为,以便能够通过管理员将此模板仅应用于特定类别 /theme/template/catalog/category/list.phtml我怀疑您不需要指定append方法 <reference name="content"> <block type="catalog/navigation" name="collect
/theme/template/catalog/category/list.phtml我怀疑您不需要指定append方法
<reference name="content">
<block type="catalog/navigation" name="collectionlist" template="catalog/category/list.phtml" />
</reference>
我怀疑您不需要指定append方法
<reference name="content">
<block type="catalog/navigation" name="collectionlist" template="catalog/category/list.phtml" />
</reference>
您的XML已损坏。不要用
关闭
有了这个修复,SimpleXML将能够再次解析您的布局。您的XML被破坏了。不要用
关闭
有了这个修复,SimpleXML将能够再次解析您的布局
<reference name="content">
<block type="catalog/navigation" name="collectionlist" template="catalog/category/list.phtml" />
</reference>