Hi all,
Just started with modx revolution (never tried evolution).
I’m used to Drupal, but i’m glad i found/switched to modx -> so much easier.
But i have the following problem with getResources it shows the array unrendered in my browser.
Can somebody tell me what i’m doing wrong, see below
This is in my template:
[[!getResources? &parents=`3` &limit=`5` &tpl=`WebdevelopmentTemplate1` &sortby=`publishedon`]]
And this is part of the output in my browser:
Array
(
[tpl] => WebdevelopmentTemplate1
[tplOdd] =>
[tplFirst] =>
[tplLast] =>
[sortby] => publishedon
...
Thanks in advance,
lars
Have you verified that a Chunk with name ’WebdevelopmentTemplate1’ actually exists?
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
Hi Shaun,
that’s a quick reply!
i checked and that was exactly the problem.
now i know how to make it work...
Thanks,
lars