-
☆ A M B ☆
- 24,524 Posts
Odd... just did a quick trial, and it's working as expected for me. Are you sure that's exactly your snippet call? Usually something not working like this can be using single-quotes '' instead of backticks `` around the property value.
-
☆ A M B ☆
- 24,524 Posts
Try deleting all of the files and folders in the core/cache/ folder. MODX will re-write them as necessary. Sometimes things get hung up in those cache files, and it's one of the more basic troubleshooting techniques when strange things are happening.
Another thing to try is to uninstall, remove, then re-install the offending package. Or, you could try installing pdoTools and using its pdoResources, which is a drop-in replacement for getResources that works a little differently. That won't answer the question of why getResources is behaving like this, but getting the site up and working is the main thing.
-
☆ A M B ☆
- 24,524 Posts
In your tpl, are you using placeholders [[+whatever]] or resource fields [[*whatever]]?
discuss.answer
I was/am using placeholders.
However, the issue now seems to have resolved itself. For an unrelated reason, I decided to name these chunks slightly differently. This involved changing the name of both the snippet's tpls and the html "sections" calling them. As soon as the names were changed the getResource calls began working as expected. No clue why, but for now I take it as a win.