Thanks Kristalin,
I’d just installed the PHx plugin and although I didn’t understand your PHP, when I added the following into my Ditto template, it worked a treat:
<p>[+textBlock1:limit=`700`+]...</p>
The only issue is that when ’OnParseDocument’ was ticked for the PHx plugin, the Ditto pagination stopped working. However, unticking ’OnParseDocument’ made the Ditto pagination work and the limiting of characters still occurred?
Does anyone know why this is? Or is PHx built in to Modx these days as I noticed another modifier worked before I even installed PHx. The modifier was:
[*createdon:date=`%B %d %G`*]
Sorry if this is all simple, I have no PHP experience and just want to make sure that I’m not hacking things without understanding if I’m going to cause issues later on - everything is working great at the moment.
Cheers