Hi All....again
im still new to some of the elements of MODx and Especially Ditto, ive kind of cobbled together a Random case study generation section but i dont know how to truncate whats actually being presented.
the reason i need to truncate it at a certain point is so that it will fit in a pre defined area with a more button to the rest of the case study.
the call i have so far is...
[[Ditto? &startID=`7` &tpl=`CaseStudy` &randomize=`1` &total=`1` &trunc=`1` &truncChars=`100`!]]
with the tpl being
<strong>[+pagetitle+]</strong>
<p>[+content+]</p>
<p><a href="[~[+id+]~]" title="[+link]+]">More...</a></p>
the randomisation works fine, i just dont understand after much reading how to truncate and i dont want to use the summary field within modx
thanks again
Thanks, ill look into these and let you know how i get on
Edit: Worked like a Charm thanks Eol