Reefine
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From Patrick Woodcock
Category including subcategories as filter
Feature (Resolved)
pbBC
|
Posted: 31 October 2014 03:30 AM |
|
|
|
Hi
is it possible to get the subcategories of a category group as filter?
This should look like this:
- parentA (5) —subA(2) —subB (1)
- parentB (10) —subA (3) —subB (3)
All categories are links.
Regards
|
|
|
Ralph
|
Posted: 31 October 2014 06:49 AM |
# 1
|
|
|
Hi
Sorry Reefine doesn’t support category trees at the moment. I’m planning to put that feature in when I next get some time to work on it.
Cheers
Patrick.
|
|
|
pbBC
|
Posted: 03 November 2014 02:26 AM |
# 2
|
|
|
Hi
thanks for you reply. Do you have any workaround in the meantime? I tried to use stash and gwcode_categories to
generate a correct list but it didn’t work.
Regards
|
|
|
Ralph
|
Posted: 04 November 2014 06:23 AM |
# 3
|
|
|
Hi
Sorry I don’t have a workaround at the moment. Although if you could get gwcode_categories to output links that contain all the existing segments and the category url title (eg href=”/{segment_1}/{category_url_title}/{segment_3}/....” ) then it should work ok. If you can’t customise gwcode_categories hrefs directly then maybe you could use javascript to change the urls.
Cheers
Patrick.
|
|
|
pbBC
|
Posted: 04 November 2014 09:59 AM |
# 4
|
|
|
I’ve found a solution with stash and an embedded template where I use gwcode categories.
Thanks for your help!
Regards
|
|
|
5BYFIVE
|
Posted: 22 September 2017 10:28 AM |
# 5
|
|
|
This post is 3 years old, but thought I would try anyway. Can you post your GWCode Categories solution? I have it working with another similar plugin, Category Construct, which is similar to GWCode. I can build the URLs fine to filter, but not sure how to update the URL when a filter is clicked on and removed. Did you solve this issue? Thanks!
|
|
|