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

    I’m using Ditto 2.0.2 (with MODx 0.9.5) for a new project. But its not replacing all placeholders although Ditto works as its to see in the source code of delivered pages.

    My Ditto call is:

    [[Ditto? &parents=`6` &display=`5` &tpl=`DittoBlog`]]


    The ’DittoBlog’ template is:

    <div class="blog">
     <h3><a href="[~[+id+]~]">[+title+]</a></h3>
     <div>[+summary+]</div>
      <p class="servicelink" style="text-align: right;">[+link+]</p>
    </div>



    Ditto replaces the [+id+] and the [+title+] placeholders absolutely correct but not [+summary+] and [+link+] (These are empty after parsing). In case I use [+introtext+] it is working too. What do I do wrong?
      • 18397
      • 3,250 Posts

      If you are using [+summary+] in your templates append &extenders=summary to your Ditto call
        • 27397
        • 8 Posts
        Thanks! It works now by using this call:

        [[Ditto? &parents=`6` &display=`5` &tpl=`DittoBlog` &extenders=`summary` ]]