We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39678
    • 68 Posts
    Hellow,

    This url http://rtfm.modx.com/extras/revo/getpage#getPage-PageNavigationProperties says that you must 'Finally, reference your property set name in your snippet call:

    [[!getPage@PropertySetName? &element=`getResources` &parents=`3` ...]]



    The problem is: where can i find this snippet call for the package 'articles'?

    can anyone help me?
    • In articles you don't have to do this. You can set the pagination templating in Pagination tab under the Advanced Settings tab.

      For the wrapper, I use this (on the template page):

      [[[[!+page.nav:notempty=`!$showpagination`]]]]


      page.nav is also set on the Pagination page.

      In my Chunk I have:

      <p>Showing [[+page]] of [[+pageCount]] Pages</p>
      <ul class="pagination">
          [[!+page.nav]]
      </ul>


      But your wrapper list (if you using a list) may differ of course, i.e.

      <div class="pagination">
      [[!+page.nav]]
      </div>


      And then in the Advanced Settings/Articles tab set things like:

      Page Nav Tpl:
      <a[[+title]] href="[[+href]]">[[+pageNo]]</a>

      And all the other appropriate settings this page lets you set. [ed. note: rx2 last edited this post 10 years, 3 months ago.]
        • 39678
        • 68 Posts
        and won't this will be overwritten when i update the package 'articles'?


        • Good question. I'm not sure. I do remember updating Articles recently and I did not have to change my pagination settings but I haven't done an absolute check on that.
            • 39678
            • 68 Posts
            okay,

            i will test it on a testaccount when there is an update

            thanks for your help
            • I just upgraded from Articles 1.7.3 to 1.7.5 and all my settings remained.