We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50943
    • 1 Posts
    I use getPage with getResources and try to get through numeration for the resources using idx=[[+firstItem]]
    On page 1 - number of documents 1-20
    On page 2 - number of documents 21-40 .....


    [[!getPage?
    &element=`getResources`
    &tvPrefix=``
    &limit=`20`
    .
    .
    &idx=[[+firstItem]]
    .
    .
    ]]

    On each page of the result I have the numeration of resources from 0 till 19.
    Why idx=[[+firstItem]] doesn't work?
      • 44195
      • 293 Posts
      Have you got the back-ticks around [[+firstItem]]?
      And wheres that placeholder coming from? Does it output a value?
        I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
        Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com