[[!getResources?
&tpl=`chkAlpha`
&parents=`3`
&limit=`0`
&includeTVs=`1`
&processTVs=`1`
&depth=`0`
&showHidden=`true`
&debug=`1`
]]
I can clearly see the resource I want in the debug output, however the template chkAlpha is not being processed.
In the log, there are two errors, "context for 3 is web" and an error on a SQL statement that runs fine from the database directly...
I have just started with modx today, so any help is greatly appreciated.
Thanks,
Jay
Probably a silly question, but did you actually download and install getResources from the Package Manager.
...
Yes, and I know it seems to be returning the results from the debug output. It is definitely installed.
-
☆ A M B ☆
- 24,524 Posts
What happens if you remove the debug property?
No output from the template chkAlpha, and no output from debug.
-
☆ A M B ☆
- 24,524 Posts
Can you post your tpl chunk? (use the little <> button to display the code nicely)
-
☆ A M B ☆
- 24,524 Posts
What happens if you remove the limit and depth properties?
-
☆ A M B ☆
- 24,524 Posts
Definitely something else going on here. Are you using contexts for anything?