Expression Engine Categories

為{幸葍}努か 提交于 2019-12-02 15:17:46

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/13200351/expression-engine-categories

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!