We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17754
    • 5 Posts
    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
      • 28215
      • 4,149 Posts
      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
        • 17754
        • 5 Posts
        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
          • 41049
          • 35 Posts
          HI i got similar error. And that i don't open another thread i posted here.

          Array
          (
          [tpl] =>
          [tplOdd] =>
          [tplFirst] =>
          [tplLast] =>
          [sortby] => publishedon

          i folowed this tutorial..
          http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution

          Thanks,
          Denis