We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27
    • 117 Posts
    hi

    just a quick one, how would i get ditto to show an articles "summary (introtext)" but if there wasnt one, stay blank - rather than show "content"?

    cheers

    0
      • 3763
      • 155 Posts
      I think you need to use &trunc=`1`
      (0 = full description, 1 = short/introtext)

      Hope it helps, Boby.
        ...my Photo Gallery on Flickr...
        • 27
        • 117 Posts
        cheers

        &trunc=0 seems to show content and &trunc=1 seems to show summary, but if there isnt a summary, it then shows content again...

        Im aware that this is by design, I wanna switch it (content) off...
          • 18397
          • 3,250 Posts
          Use [+introtext+]
            • 27
            • 117 Posts
            replacing [+summary+] with [+introtext+] in the ditto template does exactly that, much obliged mark.