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

    i am using ditto with reflect for showing my News and my version of modx is 0.9.6.1p2 .
    I call ditto and reflect like this.
    [!Ditto? &language=`slovak-utf8` &parents=`11` &display=`7` &tpl=`dittoNovinky` &paginate=`1` &paginateAlwaysShowLinks=`1` &extenders=`dateFilter`!]<br /><div id="ditto_pages"><br />  <div class="articles">Zobrazujem <strong>[+start+]</strong> - <strong>[+stop+]</strong> z <strong>[+total+]</strong> Noviniek</div><br />  [+previous+] &nbsp;<span class="pages">[+pages+]</span> &nbsp;[+next+]<br /></div><br />[!Reflect? &dittoSnippetParameters=`startID:11` &targetID=`11` &getDocuments=`1` &tplContainer=`reflectNovinky` &tplMonth=`reflectMonthNovinky` &groupByYears=`0` &showItems=`0` &monthSortDir=`DESC`!]<br />

    When I click on the Reflect link in Archiv (e.g. December 2007), I expect, that it shows me News from this month. But the site remains unchanged.
    What is wrong ?
      • 27843
      • 170 Posts
      I discovered, that when i add parameter
      &id=`MyDittoCall`
      into the Ditto and the Reflect snippet, then everything works fine, but pagination doesn’t work, precisely placeholders for pagination doesn’t work.

      How can I make, that pagination and Reflects URLs to work properly ?
        • 36592
        • 970 Posts
        They should be [+MyDittoCall_start+] and so on...
        You have to prefix id which you specified.
          • 27843
          • 170 Posts
          Quote from: tkfm at Apr 22, 2008, 11:49 AM

          They should be [+MyDittoCall_start+] and so on...
          You have to prefix id which you specified.
          Great, super it works. That means, that in front of each placeholder, I have to insert a value from &id=`` parameter ?