We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34197
    • 138 Posts
    Simple pagination with getpage

    Hello all,

    I am trying to set up a simple pagination for my website. I have got different pages, with sub pages, and I want my visitors to navigate thanks to a pagination.

    I have installed both getpages and get resources, and used several codes provided from the official documentation and tutorials found on google but nothing works.

    Or I get nothing, Or I get a weird code:

    Array
    (
        [tpl] => newsTpl
        [tplOdd] => 
        [tplFirst] => 
        [tplLast] => 
        [sortby] => publishedon
        [sortbyTV] => 
        [sortbyTVType] => string
        [sortbyAlias] => 
        [sortbyEscaped] => 0
        [sortdir] => DESC
        [sortdirTV] => DESC




    Any can help or provide me a simple code ?

    Thanks. [ed. note: carlo_13 last edited this post 14 years, 4 months ago.]
      Webdesigner and musician.
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Hello,

      Could you put your full resource call? It sounds like you just don't have a tpl set, or it's missing.
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 34197
        • 138 Posts
        @AMDbuilder

        Hi, ok I have realized it is my fault. I didn't created the chunk needed by get resources. Now it is working fine.

        Thank you.
          Webdesigner and musician.