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

    I’m trying to cut my article summary near the exact place - where the first paragraph of the article ends - "</p>"

    I’m using ditto call like this:

    [[Ditto? &parents=`2` &display=`5` &removeChunk=`Comments` &tpl=`ditto_blog` &dateSource=`pub_date` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &trunc=`1` &truncAt=`</p>`]]

    The same situation is when i’m trying to put "&truncLen=`300`" in the code - the result stays the same, it looks, that there is know clear "rule" how many words is displayed in the summary - different amount of letters for each post...

    Any ideas how to solve this?

    Thanks in advance.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I’m pretty sure those trunc parameters only apply to the summary/introtext.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org