We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5580
    • 6 Posts
    Hii
    I installed modx without sample data, and setup everything like installation w/ sample data.

    All works fine, except Blog. When i click Blog button there are no article list that i write. it just appear code :

    [[Ditto? &startID=`2` &summarize=`2` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]

    Showing - of Articles

    Archives

    October 2008


    What’s Ditto object invalid? and how to make blog categories in Modx?

    Thanks a lot Modx’er

      • 36592
      • 970 Posts
      Quote from: Code-X at Oct 30, 2008, 01:32 AM

      When i click Blog button there are no article list that i write. it just appear code :
      Try changing [[Ditto? ... ]] (cached mode) to [!Ditto? ... !] (uncached mode) first.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Did you by any chance copy/paste the Ditto call into a TinyMCE editor field? If you did (and maybe even if you didn’t), more than likely TinyMCE helpfully HTML-encoded all the tags, making the call invisible to the modx parser, and of course the browser simply decodes the entire snippet call to display.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 5580
          • 6 Posts
          Yes, I did.
          I re-copy & paste the Ditto call w/o TinyMCE and you right TinyMCE encoded the html tag.
          Now, the Ditto call running well.

          Thanks Sottwell smiley