BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
Listing only child categories
#40 opened by Büro Ballmann Weber
Description
dear buzzingpixel,
I’m searching for a solution to list only the (choosen) child entries of an entry in an unordered list without showing the parents. I use 5 main categories with several child categories in each one.
so long I only managed to get ALL child categories listed but not only the ones that are associated with that entry.
thank you and kind regards, matthias
Replies
- TJ Draper
Replied 8/25/2017 10:21 AM, Edited 11/10/2018 10:04 AM
Are you using the
entry_id="ENTRY_ID_HERE"
parameter? You should be able to use that parameter to only get categories that are associated with an entry. And then you can use a conditional onconstruct:level
to only show categories at a certain level.