We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    This is an auto-generated support/comment thread for splitPagination.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    Generates split pagination for Ditto
      • 476
      • 14 Posts
      Hi!

      [[Ditto? &language=`portuguese` &parents=`2` &summarize=`6` &commentschunk=`Comments` &tpl=`barracus.blog` &paginate=`1` &alwaysshow=`1` &dateFormat=`%d de %B, %Y` &paginateAlwaysShowLinks=`1` &extenders=`summary,dateFilter,tagging` &tagData=`tvblogCategory` &tagDelimiter=`,` &truncText=`Ler mais...`]] 
      
      <div align="center" id="nl_pages">
      [[splitPagination]]
      </div>
      


      This is not working for me. The navigation don’t appear.

      Best regards,
      Américo Dias
        • 33337
        • 3,975 Posts
        Call the snippets un-cached, [!...!]

        regards.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 476
          • 14 Posts
          Un-cached calls didn’t resolve the problem. Although i resolved the problem setting result variable on the call:

          [[Ditto? &language=`portuguese` &parents=`2` &summarize=`6` &commentschunk=`Comments` &tpl=`barracus.blog` &paginate=`1` &alwaysshow=`1` &dateFormat=`%d de %B, %Y` &paginateAlwaysShowLinks=`1` &extenders=`summary,dateFilter,tagging` &tagData=`tvblogCategory` &tagDelimiter=`,` &truncText=`Ler mais...`]]
          
          <div align="center" id="nl_pages">
          [+previous+] [!splitPagination? &return=`1`!] [+next+]  
          </div>
          


          It would be nice if the snippet have parameters to set the lenght of the output.
          Example: [!splitPagination? &return=`1` &lenght=`6`!]
          Would result in: [1] [2] [3] ... [10] [11] [12]

          Thanks for this snippet! smiley
          Regards,
          Américo Dias
            • 23506
            • 156 Posts
            hi!
            What i do wrong?
            [!splitPagination? &return=`1` &lenght=`6`!]
            Result:
            [11.1] [2.1] [3.1] [4.1] [5.1] [6.1] [7.1] [8.1] [9.1] [10.1] [11.1] [12.1]...[154] [155]

              • 18397
              • 3,250 Posts
              What is the Ditto call being used before your problematic splitPagination call?
                • 23506
                • 156 Posts
                Quote from: Mark at Jan 13, 2008, 02:23 PM

                What is the Ditto call being used before your problematic splitPagination call?
                [!Ditto? &startID=`161` &summarize=`20` &commentsChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &truncText=`Читать всю новость...` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &extenders=`summary` !]  
                  • 36416
                  • 589 Posts
                  Quote from: pixelranger at Jan 10, 2008, 07:45 AM

                  What i do wrong?
                  [!splitPagination? &return=`1` &lenght=`6`!]

                  I think working parameter name is "length".
                    • 23506
                    • 156 Posts
                    Quote from: Eol at Jan 14, 2008, 08:10 AM

                    Quote from: pixelranger at Jan 10, 2008, 07:45 AM

                    What i do wrong?
                    [!splitPagination? &return=`1` &lenght=`6`!]

                    I think working parameter name is "length".
                    not working
                      • 36416
                      • 589 Posts
                      Quote from: pixelranger at Jan 14, 2008, 08:42 AM

                      Quote from: Eol at Jan 14, 2008, 08:10 AM

                      Quote from: pixelranger at Jan 10, 2008, 07:45 AM

                      What i do wrong?
                      [!splitPagination? &return=`1` &lenght=`6`!]

                      I think working parameter name is "length".
                      not working

                      Sorry, i was shooting from the hip - I installed SplitPagination to test it myself and there isn’t anything remotely similar to "length".
                      BTW, it works for me...