We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25006
    • 10 Posts
    Hi,

    Today i upgraded to 0.9.6 from 0.9.5 and i am having a few problems. One of them is with Ditto, i use [+summary+] to display the first paragraph of my content which then has <!--splitter--> to tell Ditto when to stop displaying content. This was working until i upgraded to 0.9.6. I also tried entering text into the "Summary (introtext)" field but it does not display that either. This is for all pages, and Ditto does display [+title+], [+url+] and other placeholders correctly.

    I am also having JS issues with TinyMCE, but thats a different story.
      • 25663 MODX Staff
      • 12,272 Posts
      Please see the version 1 to 2 upgrade guide on the Ditto support site.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 6726
        • 7,075 Posts
        Indeed everything is in there

        You have to add &extenders=summary to your Ditto call.
        Read http://ditto.modxcms.com/extenders/summary.html smiley
          .: COO - Commerce Guys - Community Driven Innovation :.


          MODx est l&#39;outil id
          • 25006
          • 10 Posts
          Thanks. I did have a look through there but couldn’t find it! I have added &extenders=summary to my Ditto call and am using [+summary+] but when trying to view the page i get this:

          summary extender does not exist. Please check it.

          Help?
            • 6726
            • 7,075 Posts
            The only thing which comes to mind then is your assets/snippets/ditto folder was not updated properly. Check that summary.extender.inc.php is in assets/snippets/ditto/extenders folder. If it is, might be corrupted : re-upload it !
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l&#39;outil id
              • 25663 MODX Staff
              • 12,272 Posts
              Please show us your complete Ditto call.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 3749
                • 24,544 Posts
                I had a similar problem with Wayfinder in upgrading to 0.9.6.

                Mine was caused by an older wayfinder.inc.php file that didn’t get overwritten during the upgrade.

                Look at the content of the snippet.ditto.php file in assets\snippets\ditto to make sure that it says version 2.0.2 at the beginning of the file.

                Hope this helps,

                Bob
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 27751
                  • 45 Posts
                  I am having the same problem. I checked the Extender version, re-uploaded it to be sure it was not corrupt. Below is my complete Ditto Call. I followed the Tutorial in the Wiki which needs updating. As helpful as the Wiki and this forum are they are often out of sync.

                  [!Ditto? &extenders=summary &summarize=`5` &total=`20` &commentsChunk=`CommentsBlog` &tpl=`BlogTemplate`!]

                  The link you reference has the title "Legacy support for the [+summary+] placeholder" which has me scratching my head. If there is a better way to include the summary then I would be happy to learn the new way. Mine is a new site (developed the week .96 was released so I did upgrade).

                  The only real helpful information on how to use Ditto2 was in the Wiki. The current docs lack the very basics on how to just simply put a blog on the page and some example basic uses.
                    Dedicated CENTOS 5.5 x86_64 standard WHM 11.28.64
                    Apache/2.2.17 | PHP/5.2.15
                    MySQL Version 5.0.91 | MODx Revolution
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Try making your &extenders=`summarize` ... I think it uses the introtext field for that.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 6726
                      • 7,075 Posts
                      Maybe I am wrong, but I think default Ditto template now use introtext because summary was an excerpt of content which was truncated with a specified number of characters. The reason it’s not default anymore is resource intensiveness of truncating if I remember correctly.

                      Might be that there is a typo in the official doc : &extenders=summary is in the doc, maybe it’s rather your version which works, i.e &extenders=`summarize` (if so, I’ll send Mark a PM to have the doc edited)
                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l&#39;outil id