We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13137
    • 204 Posts
    I know this has been brought up many times, as I have been scouring the forum to figure this out, but nothing seems to be working, something always breaks on me.

    What I have right now is:
    <p>[[Ditto? &parents=`2` &display=`10` &removeChunk=`Comments` &tpl=`Noticias-short` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &dateFormat=`{{NiceDate}}` &language=`spanish` &truncText=`Leer mas...` &sortBy=`pub_date`]]
    </p>
    <p>Enseñando <strong>[+start+]</strong> - <strong>[+stop+]</strong> de <strong>[+total+]</strong> Artículos</p>
    <div id="ditto_pages"> [+previous+] [+pages+] [+next+] </div>
    <div id="ditto_pages"> </div>
    
    [[Reflect? &config=`wordpress` &dittoSnippetParameters=`parents:2` &id=`wp` &getDocuments=`1`]]


    With that I get pagination working fine, months are displayed but links dont work correctly.
    When I add &id=`wp` to Ditto, the months links work, but without pagination showing up. undecided
      • 36592
      • 970 Posts
      Quote from: islander at Nov 04, 2010, 02:16 PM

      When I add &id=`wp` to Ditto, the months links work, but without pagination showing up. undecided
      In this case, the placeholders for pagenations become something like...
      [+wp_start+]

      You need prefixes which you set as &id parameter.
        • 13137
        • 204 Posts
        It Works!!! laugh

        Thank you soooo much, I would have never figured that out.

        For anyone interested, here is the call that worked for me:

        <p>[[Ditto? &parents=`2` &display=`10` &removeChunk=`Comments` &tpl=`Noticias-short` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &dateFormat=`{{NiceDate}}` &language=`spanish` &truncText=`Leer mas...` &sortBy=`pub_date` &id=`wp`]]
        </p>
        
        <p>Enseñando <strong>[+wp_start+]</strong> - <strong>[+wp_stop+] de [+wp_total+]</strong> Artículos</p> 
        <div id="ditto_pages"> [+wp_previous+] [+wp_pages+] [+wp_next+] </div>
        [[Reflect? &config=`wordpress` &dittoSnippetParameters=`parents:2` &id=`wp` &getDocuments=`1`]]
          • 13137
          • 204 Posts
          Maybe this is pushing it, but right now the months display like:
          october 2010
          september 2010
          august 2010
          october 2009
          september 2009
          august 2009

          Is it possible to have it display like:
          2010
          october
          september
          august
          2009
          october
          september
          august

            • 37210
            • 131 Posts
            Hi Islander


            Have a look at this post

            http://modxcms.com/forums/index.php/topic,15021.0.html.

            Hope it helps. I know Reflect is a bit of a handful!

            Sarah