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
    It depends on your server configuration. Check the documentation of your distribution for the location of the log. On MAMP Pro you can simply do Logs->PHP from the system menu if you are using that...
      • 18397
      • 3,250 Posts
      @ http://modxcms.com/forums/index.php/topic,12433.msg82962.html#msg82962

      I solved the problem in an upcoming build. I just need a little more time to make sure its stable before I commit it.
        • 6726
        • 7,075 Posts
        Quote from: Mark at Feb 24, 2007, 01:50 PM
        You would have a Reflect call like so [!Reflect? &id=`myDittoCall`&targetID=`#`&dittoSnippetParameters=`startID:x` where # is the ID of the page with this content:

        [!Ditto? &startID=`x` &summarize=`all` &id=`myDittoCall` &extenders=`dateFilter`!]

        You would need to set the startID "x" to be the same on both.


        And now with Ditto 2 a little change &dittoSnippetParameters=`parents:x`, if you’re wondering why it’s not working anymore since the parameter name changes wink

          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l'outil id
          • 20349 ☆ A M B ☆
          • 453 Posts
          Sorry for bringing up the topic, but I can’t seem to get it work sad

          On my news page I’m having last 10 news. The news are pulled out of {{chunk}} with Ditto call inside
          On my archive page I want to list the archive displayed in year ˇ month , and then when a user clicks on the monzh to show up all the news written in that month.

          I set up the reflect call like
          [!Reflect? &id=`1` &targetID=`2` &dittoSnippetParameters=`parents:2` &getDocuments=`1` &dateSource=`pub_date` &monthSortDir=`DESC` &dateFormat=`%d.%m.%Y` &tplContainer=`tplContainer`!]


          and modified the Ditto call, but it just won’t work sad Any ideas?
            BASE - Web Design Studio
            MODX Ambassador

            Website
            • 18397
            • 3,250 Posts
            Does the Ditto call on document 2 have the same &id?
              • 20349 ☆ A M B ☆
              • 453 Posts
              Quote from: Mark at Aug 01, 2007, 05:55 AM

              Does the Ditto call on document 2 have the same &id?

              Yes, my Ditto cal is setup like this, but it’s on document 1 (Home page)
              [[Ditto?&parents=`2` &id=`1` &sortBy=`pub_date` &dateSource=`pub_date` &extenders=`summary,dateFilter` &dateFormat=`%d.%m.%Y` &paginate=`0` &display=`10` &total=`10` &removeChunk=`Comments` &tpl=`naslovna_vijesti` &trunc=`0` &truncText=`Opširnije...`]]



              ... but I wonder does it have anything with the fact that is pulled out of the chunk and inserted on Home page (1), but I want to list the archive on Archive page (2) ? huh
                BASE - Web Design Studio
                MODX Ambassador

                Website
                • 18397
                • 3,250 Posts
                &targetID=`2` is the ID for where the links should point to. Thus, if you want them to link with the call on document 1 with the same ID you need to change its value to 1.
                  • 20349 ☆ A M B ☆
                  • 453 Posts
                  Quote from: Mark at Aug 02, 2007, 08:46 AM

                  &targetID=`2` is the ID for where the links should point to. Thus, if you want them to link with the call on document 1 with the same ID you need to change its value to 1.

                  When I do that, only 1 news on my Home page is listed, and when I click on ex. month on the Archive page (2), it bounces me back on the Home page insetad of revealing the news in that month
                    BASE - Web Design Studio
                    MODX Ambassador

                    Website