We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13284
    • 95 Posts
    Addition: Here is what I’ve done to maybe make it easier to get help ^_^
    1.) Created a News folder called: SiteNews (id is 19)
    2.) Created the snippet Ditto and put the php file in it
    3.) Added the example CSS to my css file from the documentation
    4.) Created a chunk called DittoTemplate as the example display template in the documentation

    So I need to know where to go from here, how to call it correctly and how to post and edit news articles

    Documentation Page I used: http://modxcms.com/ditto_documentation.html

    [Original post]
    Hello everyone,

    Well I’m really new to CMSes and how they work etc. Learning as I go and can. I’d like to make news postings for site news that look like this: http://www.animenewsnetwork.com

    I’ve made the snippet of Ditto and used the basic Chunk from the doc. page. Of course I get the array error cause I have no news or anything. So right now I don’t have the call on the main page.

    Is there anyone out there have time to help me learn how to set this up the rest of the way by either posting on my thread here or PMs?

    I don’t know where to go from here? From reading the other posts it looks like I need to set up some pages to create the news/post it and a few other things but I don’t know how or what. Anyone help out or point me in a direction or anything like that?

    Thanks for anyone that at least takes the time to read this and/or helps.
      • 11677
      • 14 Posts
      Ditto sounds great and i am starting to get the whole chunks and snippets stuff but i can for the life of me get this (ditto) to work!

      I just dont get it it seems to just preview inline the whole [[Ditto call http://www.80110x.com/test.html

      i dont knoiw what i am doing wrong or why it is doing this - i have followed the instructions to hte best of my ability but i just dont get it.

        • 18397
        • 3,250 Posts
        From what I can see, lzumi your method is correct. Please provide your Ditto call so I can advise you further.
          • 13284
          • 95 Posts
          Sorry about my delay,

          My call would be:

          [!Ditto? &startID=`19` &tpl=` DittoTemplate ` &summarize=`3` &paginate=`1`!]


          I’ve tried to take out &pageinate too just for playing but I would still get the array error cause there are no items in my news folder.

          I don’t have the call up so i can see the front page cause if I put the call in the page gives that big error. So that is what I have etc. Just need to know where to go from there.

          Thanks a bunch Mark and everyone else
            • 18397
            • 3,250 Posts
            The array error occurs in Ditto 1.0.2 when there are no items. Try Ditto 1.1 Beta 2 as it no longer has that error.

            The next step in setting up a Ditto based blog would be to create a new document in your news folder for each news item. Ditto will take care of the rest.
              • 13284
              • 95 Posts
              Hey Mark,

              I didn’t update but I did make a document in the news folder and it has it being displayed now. It’s working great now so super thanks.