We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17802
    • 190 Posts
    Hello, I searched the forums first, but couldn’t come up with a solution. So I hope somebody can help. Here’s my Ditto call:
    [!Ditto? &parents=`5` &summarize=`6` &tpl=`dittoTpl` &language=`dutch` &extenders=`summary` &truncLen=`200` &truncText=`Lees verder&hellips;`!]

    I used the html character entity &hellips; to make an ellipsis symbol. However, it doesn’t show up! Should I escape the html entity in some way, maybe the ’&’ in it breaks the Ditto call?
      Thanks for MODx - I love it!
      • 18397
      • 3,250 Posts
      A good workaround would be (in Ditto 2.0.2) to use the &tplTrunc parameter . You would just create a chunk containing your truncation text and then set tplTrunc equal to that.
        • 17802
        • 190 Posts
        Thanks for your quick response! This does seem to work. smiley
        However, for the record: it turns out &hellips; didn’t work here either, but … does. Pfff... the finer points of character encoding still escape me undecided
          Thanks for MODx - I love it!