We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27305
    • 173 Posts
    I dont use the summay input box or content box in modx all my content is in tv’z, how do I get a ditto call to summarize the content of a tv’? and then also how to truncate the contents?

    My call is

    [[Ditto? &startID=`15` &summary=`3` &total=`20` &commentsChunk=`CommentsBlog` &truncLen=`20` &truncOffset=`10` &tpl=`BlogTemplate` &extenders=`summary` &truncSlit=`0` &paginate=`0` &alwaysshow=`1` &trunc=`1`]]

    but it only works with the introtext field in modx.

    Many thanks
    Simon
      I made my first site with modx
      ------------------------
      Shopping blog
      Sky+ HD
      • 36416
      • 589 Posts
      Quote from: simonok at Apr 14, 2008, 06:24 AM

      I dont use the summay input box or content box in modx all my content is in tv’z, how do I get a ditto call to summarize the content of a tv’? and then also how to truncate the contents?

      Something like [+tvname:notags:limit=`nnchars`+] if you don’t mind installing PHx:
      http://wiki.modxcms.com/index.php/PHx
        • 18397
        • 3,250 Posts
        Ditto can natively process PHx commands so you wouldn’t even need to install PHx if you’d prefer not to.
          • 27305
          • 173 Posts
          Didnt know about this phx thing, will investigate, thank you

          ss
            I made my first site with modx
            ------------------------
            Shopping blog
            Sky+ HD
            • 9549
            • 93 Posts
            This seem to be an easy solution, but it cut the words which isn’t so good. So, can you truncate the pagetitle with words, somehow?