-
☆ A M B ☆
- 117 Posts
I need to use Wayfinder to display the child resources of a resource in the following way:
<?xml version="1.0" encoding="UTF-8"?>
<sub name="Kitchens">
<subcat>Modern</subcat>
<subcat>Contemporary</subcat>
<subcat>Classic</subcat>
</sub>
In the above example, I have resource "Products" (don’t want it to show) which has child node "Kitchens", and "Kitchens" has three child nodes "Modern", "Contemporary" and "Classic".
There is a way to use the OuterTpl etc but really need a push to start using them :/
-
☆ A M B ☆
- 3,141 Posts
http://svn.modxcms.com/docs/display/ADDON/Wayfinder
Try setting [tt]&startId[/tt] on your product page id. Then using [tt]&parentRowTpl[/tt] to markup your parents (kitchen) and [tt]&rowTpl[/tt] for the regular items. Should do the trick.