We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38417
    • 92 Posts
    I have put in jplayer on my site using this tutorial: http://www.webandflowdesign.com/blog/jplayer-and-modx-part-two

    My tracks resource (id=33) holds 10 items. Only 5 are showing up.

    This is my getResources call:

     [[!getResources? &includeTVs=`1` &parents=`33` &depth=`2` &tpl=`playlistItemTpl` &tplLast=`playlistLastItemTpl` &sortby=`menuindex` &sortdir=`ASC` &includeContent=`1`]]


    Code for playlistItemTpl chunck:

    {
    name:"[[+pagetitle]]",
    mp3:"[[+content]]",
    oga:"[[+tv.OGGfile]]"
    },


    and playlistLastItemTpl chunck:

    {
    name:"[[+pagetitle]]",
    mp3:"[[+content]]",
    oga:"[[+tv.OGGfile]]"
    }


    Does anybody see a reason why only 5 items are showing?

    Ad.
      • 38417
      • 92 Posts
      Solved it put in the getResources call: &limit=`100` and the problem was gone!