We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28121
    • 107 Posts
    I know there’s a way to limit the number of resources that getResources will output onto a page. But If I only want an intro of each resource is there a way to truncate at about 200 characters? Thanks
      • 28215
      • 4,149 Posts
      Either:

      [[+content:limit=`200`]]
      or
      [[+content:ellipsis=`200`]]

      http://rtfm.modx.com/display/revolution20/Input+and+Output+Filters
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 28121
        • 107 Posts
        Thanks
        I found it was actually easier / better to pull in the [[+Summary]] field.
        My reasoning was that Ditto didn’t like truncating artciles where a table fell within the limit=200 zone.
        Took me a while to figure out that one but i’m not having any problems now.