Hey guys,
My SiteTree has the following structure:
- Category (Level 1)
- Category (Level 2)
- Product
- Category (Level 2)
- Category (Level 2)
- Category (Level 1)
I am trying to setup a Multi-Level Accordion Menu. I want to check somehow if the menu item should be linked or un-linked by knowing the ClassName of the Child page(s)
Eg.
If the Children Pages of the Category are products it should be linked, otherwise un-linked.
Is there a way for me to check the ClassName of the Child Page(s) to know whether this parent of the child should be linked or unlinked?