Ditto &trunc cuts the content after periods, I’m after trunc at exact # of words, and found an older post that mentioned:
http://wiki.modxcms.com/index.php/PHx/CustomModifiers#phx:word_limit
I do not get how to include this in the Ditto call...this is what I have at the moment after trying numerous methods:
[[Ditto? &tpl=`box2` &documents=`59` &extenders=`summary` &trunc=`1` &trunclen=`[+content:word_limit=`50`+]` ]]
and in the chunk I use [+summary+] but think I would have to use content
doesn’t work and tried many other combinations. How do I include: [+content:word_limit=`50`+] ?
Alternatively Is there another way to trunc length at spaces between words instead of periods at the end of the sentence?
Thanks a bunch