We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32678
    • 290 Posts
    Howdy. I’m trying to create a truncated ditto output for a site homepage and need to resolve a couple of issues.

    First - the truncation works fine with the [+summary+] placeholder -- no prob there. I want to conclude the output with the characters "...", however. I tried adding these to the ditto chunk after [+summary+] but ditto wraps the output in <p> tags, creating two issues. First, my added characters are not styled. Second, the <p> tags create an unnatural line break.

    Bringing me to the issue #2. It’s directly related to the break created by the <p> tags. The entire ditto output concludes with a [read more] link. The <p> tags inserted by ditto are, as mentioned, creating a line break.

    I know I could use introtext but that’s not ideal in this scenario for a couple of reason that don’t pertain. I read about the :notags extender but don’t quite grock whether this is a viable solution or how it can be applied...

    Thoughts?
      • 32678
      • 290 Posts
      OK, figured out the link issue by using the &truncText= param. This solves the line break issue, but not the inclusion of "...". I could include this in &truncText=, but then they’de be linked, which isn’t the desired output.

      Anybody have an idea on this?