We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10573
    • 101 Posts
    Ok, I went through three forums from the Upgrade Guide, the summary depreciated posts and the split and I can figure out what broke from RC3 to 2.0.1. I’m almost afraid to upgrade since my experience so far is that it broke something each time.

    The shiny new ditto documentation is great, but I couldn’t find any example calls. The wiki has old 1.0 stuff. huh

    I’m not new, but I could only imagine how difficult it is for someone new to find concise information. I really hate to post a question, but I’m getting close to launch time and I thought RC3 to final would be relatively easy. Thanks for any help smiley

    [[Ditto? &startID=`1` &summarize=`1` &total=`all` &dateFormat=`%a, %B, %d, %Y %I:%M%p` &removeChunk=`Comments` &tpl=`nl_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`0` &tagData=`tags` &tagDelimiter=`,` &tagDocumentID=`29`]]


    nl_blog chunk
    	<h3><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></h3>
    	<ul>
    		<li><strong>Date:</strong> [+date+]</li>
    		<li class="dittoTags">Tags: [+tagLinks+]</li>
    		<li><strong>Comments:</strong>  <a  href="[~[+id+]~]#commentsAnchor">
    				[!Jot?&docid=`[+id+]`&action=`count-comments`!]
    			</a>
    		</li>
    	</ul>
    		[+introtext+]
    	<div id="nl_comments_[+id+]" style="display: none;">
    		[[Jot?&docid=`[+id+]`&action=`comments`]]
    	</div>
    	<div class="nl_link">[+link+]</div>


    I changed Summary to Introtext to no avail.
      • 10573
      • 101 Posts
      I lost my other post?

      But everywhere I use ditto is now broken?

      [!Ditto? &tpl=`DittoLinks` &sortBy=`pagetitle` &summarize=`30` &sortDir=`ASC`!]


      chunk
      <div class="ditto_links">
      <a href="[~[+id+]~]">[+title+]<span> (external link)</span></a>
      <p>[+description+]</p>
      </div>
        • 18397
        • 3,250 Posts
        Please append the debug output of the calls per these instructions:

        Quote from: Mark at Mar 23, 2007, 12:15 AM


        • Append &debug=`1` to the call
        • Click "Save Debug Console"
        • Rename the extension to .html
        • Attach to the post
          • 10573
          • 101 Posts
          Um, I’m an idiot! rolleyes

          I tried the debug console, and it said it wasn’t found...

          Well, duh, I uploaded the new version to the staging server vs dev!

          Upgrading first thing after trying to wake up is not a good thing. Sorry for the goose chase.

          BTW, that debug feature rocks! I’ll be using that from now on.

          As for my comment about examples, it would be nice to have a central modx "playground" where newbies can see the effects of what calls.

          I would love to contribute to the ditto wiki, but I’m not sure how it will work with the uber documentation provided.
            • 5727
            • 160 Posts
            Quote from: gcruz at Mar 24, 2007, 02:02 PM

            As for my comment about examples, it would be nice to have a central modx "playground" where newbies can see the effects of what calls.

            I’ll register "DittoCallZenGarden.com" so we can play around wink
              Olivier Deland
              Montreal, Canada - Web Developer