I’m trying to get categoryFoldersTpl to work. I’ve followed the instructions in the pdf “Using Wayfinder.pdf” on sottwell -dot- com (forum wont let me post a link).
Step to reproduce
I’ve created a chunk for the category folder named “navCategoryHeadings”. The chunk contains this text.
The documents that are suppose to be categories (and not links) have children documents, have the “Uses Template” field set to “(empty)” or “Link Attributes” set to ‘rel=“category”’ (I’ve tried both). I’ve also tried creating a Static Resource.
I can’t think of what else I’m missing.
Observed behavior
The parent documents have tags (it’s not using the navCategoryHeadings chunk).
Expected behavior
The parent documents shouldn’t have tags
Environment
MODX 2.6.5-pl, Wayfinder 2.3.3-pl, CentOS 7, Apache/2.4.35, MySQL Ver 14.14 Distrib 5.7.23. Safari/Firefox on Mac OS X 10.12.
I fixed that. It still doesn’t work. I enabled debugging and here is the output. It looks like everything should work. My next step is to modify the source code and see if I can figure it out, which I’m not exactly looking forward to. The item that should be a category is doc 11.
Wrapper for items with parent 1. - These fields were used when processing the wrapper for the following resources:
Ha. I stared at the code above for a long time (ok, 3 minutes) and saw “isfolder false” and wondered if that had anything to do with it so I found the “Container” settings for the page and checked it and now it works.
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.