Hi,
With a basic getResources call I’m getting a dump of array properties. The snippet call ampersands are correct: [[!getResources? &parents='2' &:includeContent='1' ]]
It seems the snippet is calling fine as various properties are showing correctly in the array in relation to the snippet parameters used. Here’s what I’m getting for each resource:
Array
(
[tpl] =>
[tplOdd] =>
…
[uri] =>
[uri_override] => 0
)
Also I'm finding that when editing in Rich Text, the last parameter in the snippet call is having the full & stripped, being replaced by only '&'. I’ve tested this by swapping the last 2 properties around, it happens each time. Is this a TinyMCE thing? It doesn't seem to stop the snippet from working properly but it just seems a bit odd.
Here's what’s running:
Revo: 2.1.3
Apache: 2.2.3
MySQL: 5.0.77
PHP: 5.2.17
Red Hat Enterprise Linux 5 - 64 bit
Thanks in advance
Ian
-
MODX Staff
- 10,725 Posts
FWIW, if you have Resources with blank URI values and you are using Friendly URLs, you have a problem.
Good to know but that's not happening - at the moment I'm running this without FURL's, will do later, and I generally run automatic_alias
Cheers though!
The array usually means that getResources is not finding the &tpl chunk or you've forgotten that property.