We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42082
    • 72 Posts
    Hi I want to use getpage to create pagination on some videos i pulled in through rowboat so i was wondering will getpage work with rowboat? And if not what alternatives do i have?

    This question has been answered by modxnooby. See the first response.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You can always give it a try...
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 42082
        • 72 Posts
        I did but I could not get it to work.. So i am wondering if i am doing it wrong or If it just dosn't work..

        Here is the code:
        <h3>Newest Videos</h3>
        <div id="Videos">
        [[!getPage?
           &element=`Rowboat`
           &table=`videos`
           &tpl=`fancyVideoTpl`
           &limit=`50` 
           &sortBy=`date` 
           &sortDir=`DESC`
           &cache=`0`
           ]]
        </div>
        <div class="paging">
        <ul class="pageList">
          [[!+page.nav]]
        </ul>
        </div>

        • discuss.answer
          • 42082
          • 72 Posts
          Oh Nvm found it myself.. This code worked fine when I put the limit to 18 (as i did not have 50 records therefor nothing showed because all my records where on one page) And I had to reinstall my getpage package then everything worked fine.

          Thanks all
          modxnooby