We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8881
    • 73 Posts
    Once i post a news article with ditto at the end of all the text i have a image. But on the main page were the news articles are displayed it only shows the text and never shows the image.

    And Also every article has comments enabled with {{Comments}}

    This is my code
    [[Ditto? &tpl=`dittoTpl` &startID=`1` &summarize=`15` &dateFormat=`%B %d, %Y` &truncLen=`380`]]
      • 18397
      • 3,250 Posts
      Quote from: Mark at Mar 23, 2007, 12:15 AM

      How to get help
      ...

      • What MODx and Ditto versions you are running
      • The debug output of the Ditto call:
        [list]
        [li]Append &debug=`1` to the call
      • Click "Save Debug Console"
      • Rename the extension to .html
      • Attach to the post
      [/li]
      [/list]
      ...

      An excerpt from: http://modxcms.com/forums/index.php/topic,13348.0.html
        • 8881
        • 73 Posts
        I actually couldn’t find the save debug button so I just copied and pasted what I saw to the attached file.
          • 18397
          • 3,250 Posts

          What MODx and Ditto versions you are running

          Based on your previous post I’m assuming you are using Ditto 1.0.x. I advise you to upgrade to Ditto 2 as it fixes many bugs with the previous releases.

          It looks like your image is being truncated. If you need truncation, try setting it to a higher number say 1000 for a test. Let me know what happens.
            • 8881
            • 73 Posts
            This is my new code [[Ditto? &tpl=`dittoTpl` &startID=`1` &summarize=`15` &dateFormat=`%B %d, %Y` &truncLen=`1000`]]

            And now that i upgraded it doesn’t show any text on the main page only when you click on the news article..

              • 18397
              • 3,250 Posts
                • 8881
                • 73 Posts
                AHHH Works perfectly with the new 2.0 DItto smiley Thanx a lot fixed a lot of my problems!

                WOOOT!