We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37449
    • 57 Posts
    Not sure if this is a getPage or a 2.1.5 problem, but pagination has stopped working...

    The resource code is:
    <h2>[[*longtitle]] - [[!get-category]]</h2>
    <div class="blogPost">
    [[!getResourcesTag?
    &parents=`270`
    &limit=`3`
    &tpl=`list-blog-category-post-tpl`
    &tagKey=`tvBlogTags`
    &tagRequestParam=`tag`
    &pageVarKey=`page`
    &includeTVs=`1`
    &elementClass=`modSnippet`
    &element=`getResources`
    ]]
    </div>
    <div id="paging">
    <ul>
      [[!+page.nav]]
    </ul>
    <p>Page [[+page]] of [[+pageCount]] ([[+total]] items)</p>
    </div>
    


    which is the same in my live site.
    The resources are pulled and listed but the
    [[!+page.nav]]
    produces no-output.

    Any suggestions gratefully received smiley [ed. note: astrodaz last edited this post 12 years, 4 months ago.]
      formerly sumodaz on here!
    • This is using getResourcesTag Snippet, not getPage...
        • 37449
        • 57 Posts
        D'oh!! So it is!!
        My bad!!
          formerly sumodaz on here!
          • 37449
          • 57 Posts
          OK, this is what I meant to post!!


          <div class="blogPost">
          
          [[!getPage?
             &elementClass=`modSnippet`
             &element=`getResources`
             &parents=`270`
             &depth=`0`
             &limit=`8`
             &pageVarKey=`page`
             &sortdir=`DESC`
             &sortby=`createdon`
             &processTVs=`1`
             &includeTVs=`1`
             &includeContent=`1`
             &tpl=`list-blog-post-tpl`
             &cache=`0`
          ]]
          </div>
          
          <div id="paging">
          <ul>
            [[!+page.nav]]
          </ul>
          <div class="clear"></div>
          <h6>Page [[+page]] of [[+pageCount]] ([[+total]] items)</h6>
          </div>
          <div class="clear"></div>
          
            formerly sumodaz on here!
            • 40251
            • 5 Posts
            Hey dude..

            Just add

            &tvPrefix=``

            and try.

            Please update the thread saying whether solution is OK or Not.
            This will save someone's time regarding same question.
            ;)