We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4673
    • 577 Posts
    OK, I’m trying laugh

    Overwrite the contents of ditto with the contents of the file snippet.ditto.1.0.1.php
    Make sure ditto.class.inc.php gets to assets/snippets/ditto/ditto.class.inc.php
    Make sure your language file gets to assets/snippets/ditto/lang/language.inc.php
    If you are doing this via the File Manager you will need to create the ditto directory.
    Thats it!

    My problem is much simpler than this. How the blazes do I show news?
    I was playing with NewsListing earlier and have the same problem.

    I put the snippet call into a template and get a "No entries found" message. which is definitely where I am having trouble.

    How do I add entries ! ughhhhhhhhhhhhhhhh

    hehe, definitely a problem on my side but there must be this missing "etomite" connection that I am not making, possibly others too?

    sorry but I really am having trouble making the jump here embarrassed
      Tangent-Warrior smiley
      • 18397
      • 3,250 Posts
      You create a folder called news. You note the id of the document you created. Then you call ditto like so [[Ditto?startID=` id of your news folder`]] Thats it!
        • 32963
        • 1,732 Posts
        Quote from: Mark at Jun 17, 2006, 12:59 AM

        Quote from: xwisdom at Jun 16, 2006, 12:38 PM

        Nice work on the Ditto snippet Mark.

        Does Ditto support Snippet properties for setting default property settings?

        Thanks! I am not sure what you mean. Could you please elaborate?

        I’m making reference to Snippet’s Properties tab.
          xWisdom
          www.xwisdomhtml.com
          The fear of the Lord is the beginning of wisdom:
          MODx Co-Founder - Create and do more with less.
          • 15826
          • 160 Posts
          More than once now folks have asked for simple instructions on how to install this. More than once now you’ve answered "Install and use instructions are in the pdf." Well, I and two other people have obviously read that pdf more than once (for me actually more than a dozen times) and ended up with a mess, which is why we asked the question here. My installation was probably even more confused by the fact that the tutorial Susan wrote, though very step by step, is written for a different snippet entirely, not to mention the fact that I’m trying to use the Replix comment thing. So I’ve ended up with this:

          http://barrylyga.com/mx/barry-blog.html

          Do you think maybe you should take a second look at those pdf instructions you wrote and maybe maybe think about rewriting them so people can install this? wink If you need my help to tell you what boneheaded things a noob to this will do so you can put road barriers up around the potholes I’d be happy to.

          Pretty please with sugar on top?

          All the template and chunk docs I used are here, with the exception of the ones that came with the light template used in Susan’s tutorial. Any help would be greatly appreciated. I’ve been butting my head against this for most of the day, and my head hurts.

          http://barrylyga.com/modxdocs/
            "I’d love to change the world but I can’t find the source code . . ."

            Custom ModX Templates
            • 18397
            • 3,250 Posts

            Overwrite the contents of ditto with the contents of the file snippet.ditto.1.0.1.php

            Make sure ditto.class.inc.php gets to assets/snippets/ditto/ditto.class.inc.php

            Make sure your language file gets to assets/snippets/ditto/lang/language.inc.php

            If you are doing this via the File Manager you will need to create the ditto directory.

            Thats it!

            I don’t see how I can explain this any simpler...

            1. Create Ditto snippet with code from snippet file
            2. Upload assets folder to overwrite the two files.
              • 25663 MODX Staff
              • 12,272 Posts
              I surmise kickass needs help with the call syntax and chunk/template structure, not the install.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 33337
                • 3,975 Posts
                Kickass, check your PM.
                  Zaigham R - MODX Professional | Skype | Email | Twitter

                  Digging the interwebs for #MODX gems and bringing it to you. modx.link
                  • 1186
                  • 202 Posts
                  Hi,

                  ’til today, I was using Newslisting. I’d like to move to Ditto, but through my tests, it appears that Ditto doesn’t understand the parameter &sortby=`pagetitle`. However, with Newslisting, it work’s fine.

                  Any idea to help me solve that ?

                  (sorry for my english...)
                    R
                    • 7923
                    • 4,213 Posts
                    Quote from: Moon at Jun 22, 2006, 02:13 AM

                    Hi,

                    ’til today, I was using Newslisting. I’d like to move to Ditto, but through my tests, it appears that Ditto doesn’t understand the parameter &sortby=`pagetitle`. However, with Newslisting, it work’s fine.

                    Any idea to help me solve that ?

                    (sorry for my english...)


                    Look at the documentation. It’s sortBy with capital B.


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 1186
                      • 202 Posts
                      Oooh sorry, I didn’t notice the use of capitals now with Ditto, oups... rolleyes
                      It works fine now, many thanks !
                        R