We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1747
    • 24 Posts
    I use

    [!Reflect?config=`wordpress` &targetID=`55` &getDocuments=`1` &dittoSnippetParameters=`parents:54` &id=`myDitto`!]

    and page 55 contains a ditto call:
    <h2>[+myDitto_month+] [+myDitto_day+] [+myDitto_year+]</h2>
    [!Ditto? &id=`myDitto` &extenders=`dateFilter` &parents=`54`!]

    as result I have:
    The Ditto object is invalid. Please check it.

    What is wrong? Help me, please.
    Thanks
      • 4749
      • 623 Posts
      Try this:
      [!Reflect? &config=`wordpress` &targetID=`55` &getDocuments=`1` &dittoSnippetParameters=`parents:54` &id=`myDitto`!] 


      I don’t know why, but putting a space between ? and config and adding the ampersand(&) made it work for me. It’s worth a shot.
        The MODx has you...
        Utah Web Design
        • 1747
        • 24 Posts
        Thank you, but the result is "The Ditto object is invalid. Please check it. "
          • 4749
          • 623 Posts
          1. Make sure you are using the latest version of Reflect bundled with Ditto
          2. Copy the following call [[Reflect?config=`wordpress` &targetID=`2` &getDocuments=`1` &dittoSnippetParameters=`startID:2`]]
          3. Change the 2 to the container holding your blog entries and has &extenders=`dateFilter` in its call.

          Make sure that the doc ids you’re using match up correctly too.
            The MODx has you...
            Utah Web Design