We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10573
    • 101 Posts
    I’ve installed the latest release of Modx 9.5; however, the sample data still uses Newslisting instead of ditto. I was going to use this as a base to reverse engineer it.

    I’ve searched all over for a Tutorial on how to use Ditto as a blog with no success. The current tutorial on the main site show how to do it with Newslisting.

    Are there any step by step tutorials with screenshots on how to do the following:

    1. Add entry / show entries
    2. Example Chunks
    3. Example CSS
    4. Example TVs
    5. Example Jot

    An tie it all together to make a blog? Please help.

    Lost and confused,

    Gary
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The principles are the same, just check the ditto documentation to see what’s different in the options and the placeholders available.

      http://wiki.modxcms.com/index.php/Ditto
        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
        • 25663 MODX Staff
        • 12,272 Posts
        Gary, the samples in 0.9.5 use Ditto.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 10573
          • 101 Posts
          I saw that in My MODx Site demo site:
          Blog (2)
          [[Ditto? &startID=`2` &summarize=`2` &total=`20` &commentschunk=`Comments` &tpl=`nl_blog` &paginate=`1` &alwaysshow=`1`]]
          
          <p>Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> Articles</p>
          
          <div id="nl_pages"> [+previous+] [+pages+] [+next+] </div> 


          Add a Blog Entry (3)
          [!NewsPublisher? &folder=`2` &canpost=`Site Admins` &formtpl=`FormBlog` &footertpl=`Comments` &makefolder=`1` &rtcontent=`tvblogContent`!]


          So NewsPublisher is not depreciated. NewsListing is right?
            • 25663 MODX Staff
            • 12,272 Posts
            Correct. Publisher creates. Listing = Ditto.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me