无法在CMS页面中添加分层导航块 [英] Can't add layered navigation block into CMS page
本文介绍了无法在CMS页面中添加分层导航块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试过使用块类型的核心/模板,但它仍然不起作用。有谁知道为什么它从来没有工作?
解决方案
你不能使用这种类型的代码调用图层导航。对于cms的图层导航哟
u需要一个类或者如果你没有类别,然后把根类别ID,其ID为2(默认类别)
这里的链接的细节
I need to show new products on a CMS page. It works fine. Then I need to add the layered navigation block on the left to filter out the selection. But it never works. I add this code into the Layout Update XML field:
<reference name="left">
<block type="catalog/navigation" name="catalog.leftnav" template="catalog/navigation/left.phtml"></block>
</reference>
I tried with block type core/template, but it still doesn't work. Does anyone know why it never works?
解决方案
you can not call layer navigation using this type of code.For layer navigation on cms yo u need a category or if you do not have category then put root category id,whose id 2(Default category) here details of link
这篇关于无法在CMS页面中添加分层导航块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文