Hello, I’m a new user of both ModX and Wayfinder. I’m getting the hang of ModX, but I’m having a lot of trouble getting Wayfinder to do anything. I’m building this one site at the moment, and when I enter in the Wayfinder snippet tag it just doesn’t output anything! Even an error message is better than nothing at all
So anyway, here are my details. I’m using a fresh install of ModX 0.9.2.2 rev 1923 (not an upgrade), Wayfinder 1.0 rev 1779. All the pages of my site are published, some are set as visible to menu, some aren’t. I’ve tried using Wayfinder with no options set, and I’ve tried it setting some of the chunk attributes. Here’s what happens when I turn on debug mode:
WayFinder Debug Output:
Starting Menu from Docid: 5
Docids for ’Here’ class checking: 5
Chunk Checks
The chunk (linkBar-outer) for outerTpl was used.
The chunk (linkBar-link) for rowTpl was used.
The chunk (linkBar-folder) for parentRowTpl was used.
No chunk found for parentRowHereTpl using default.
No chunk found for hereTpl using default.
The chunk (linkBar-folderContents) for innerTpl was used.
No chunk found for innerRowTpl using default.
No chunk found for innerHereTpl using default.
No chunk found for activeParentRowTpl using default.
No chunk found for categoryFoldersTpl using default.
Document Processing
That’s it, nothing below document processing. I even did a bit of hacking in the include file. At first, it couldn’t find the include file (desipte the fact that I followed the install instructions exactly!), so I changed the include_once line to have an absolute path to the include file (this might be because at the moment I’m building this site on top of apache installed on my own computer). Then as a bit of debugging after the if statement on line 133:
if (is_array($resource) && !empty($resource)) {
I added an else statement to around line 200, so that if the above if statement returns fals, it would add a message to the debug output variable. As it turns out, the if statement fails, which is why I get no output.
If anyone could help, that would be grand. The problems I’m having here are putting me in a bit of a tight place right now