We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33706
    • 51 Posts
    The chunk is OK. It is working.

    The problem is &truncLen which does not display that number of characters, but any number: sometimes just one character.

    Michel.
      • 17883
      • 1,039 Posts
      2. Variable is trunLen or truncLen as in the documentation??

      Sorry, misstyped. truncLen is correct. If you use so less characters, you should also define truncOffset:

      &truncOffset - negative offset to use to fall back when splitting mid-open tag [30]

      This is because if the cut is made in an open HTML tag (e.g. <p>), then the standard setting is to fall back 30 chars. So set it to 0:

      &truncOffset=`0`


      Perhaps that works.
        • 33706
        • 51 Posts
        Just tried &truncOffset=0 but no way. It does not work.
          • 18397
          • 3,250 Posts
          The summary logic in NewsListing works with an alogrithm that search’s for closing tags around truncLen and if it doesn’t find any uses the offset to cut the text off. There is a minor bug with it in recent releases which I just discovered. This was fixed a few days in NewsListing’s successor’s codebase which should be released VERY VERY VERY soon (hoping for tonight!)