本文介绍了表达引擎类别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有1个模板和45个类别。当我点击链接产品这是我唯一的类别组时,我的侧面导航显示所有类别的父母和孩子,这是好的。



我现在想要选择一个类别中心真空,并让我的侧面导航变成与中央真空相关的所有类别只要。我找到了一种使用细分的方法,但它似乎只允许我在中央真空中显示孩子类别,而不是其他父母中的其他类别。





我希望这对某人有意义,
谢谢。

解决方案>

您应该检查此EE1 / EE2插件,这可能会满足您的需要:



GWcode类别





您可以使用插件进行操作的示例如下:





可用参数和变量在这里:



http://gwcode.com/add-ons/gwcode-categories/documentation


I have 1 template, and 45 categories. When I click on the link "products" which is my only category group, my side nav shows all of the categories parents and childs, which is good.

I now want to be able to choose one of the categories "central vacuums" for example, and have my side nav turn into all the categories related to "central vacuums" only. I've found a way using segments, but it only seems to allow me to show the child categories within "central vacuums", not any of the other categories within other parents.

Another example. If I choose a category from my "brands" parent, only products by that brand will show. I then would like to choose another category, and have it limited to both categories.

I hope this makes sense to someone, Thanks.

解决方案

You should checkout this EE1/EE2 plugin which might do what you need:

GWcode Categories

http://devot-ee.com/add-ons/gwcode-categories

Examples of what you can do with the plugin are here:

http://gwcode.com/add-ons/gwcode-categories/examples

Available parameters and variables are here:

http://gwcode.com/add-ons/gwcode-categories/documentation

这篇关于表达引擎类别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 08:16