We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34120
    • 236 Posts
    I’m using getResources to display content on my homepage. I have 7 child pages but only 5 of them are displaying and I’m a bit stumped. I’ve checked all the documents and can’t see any differences, they are all published.
    [[getResources? 
        &includeTVs=`1`
        &processTVs=`1`
        &parents=`2`
        &tpl=`tplHomeFolioItems` 
        &tvPrefix=``
    ]]

    If I create a new document it is displayed fine but forces out an earlier document so still only 5 are shown.

    Any ideas much appreciated.
    Thanks
      • 28215
      • 4,149 Posts
      call it uncached: [[!getResources
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 34120
        • 236 Posts
        thanks splittingred, I’ve just tried that and cleared the cache but it doesn’t seem to have made any difference.
          • 34120
          • 236 Posts
          ah could be the default limit. One sec
            • 34120
            • 236 Posts
            Yeah, I had a feeling it was something simple that I’d missed.
            Default limit for getResources is 5.

            Added
            limit=`12`


            Thanks for taking a look smiley