We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13284
    • 95 Posts
    Hey everyone,

    I’m using Revolution 2.0.6-pl2

    Have the getresources snippet installed.

    The testing page is at: http://www.tapanime.com/test.php

    The Latest news section I want to display the date and the Title and be a link to the information.

    The container is 5 and my first article is 6

    The chunk for the block is:
     <h1>latest news</h1>
    [[!getResources? &parents=`5` &limit=`3` &tpl=`news` &includeContent=`1`]]  


    I also have the template chunk news as:
    <center>
    <a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+publishedon:strtotime:date=`%b %d %Y`]] [[+pagetitle]]</a>
    </center>


    What am I doing wrong to have it display my box?
      • 22427
      • 793 Posts
      I tried your example in 2.0.7 (already got rid of my 2.0.6 installation - should be no big difference.) All is working like intended.
      Perhaps the getResources snippet has been updated from 2.0.6 to 2.0.7?
      Are you sure to have published the child documents of your document 5?

        • 13284
        • 95 Posts
        [SOLVED]

        This was the issue:

        http://modxcms.com/forums/index.php/topic,58102.0.html

        ----------------------------------------------
        I’ve upgraded to 2.0.7

        I noticed that I forgot to publish the container/parent 5 but the child document 6 was published. So I published 5 and still not showing anything.

        I have also tried ditto, and it works fine for ditto. Any other thoughts?