We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2206
    • 22 Posts
    I put this on my template

    <ul>
    [[Ditto?parents=`0`&depth=`0`&tpl=`list_li`&display=`all`&filter=`hidemenu,0`]]
    </ul>

    but this is the output of the page:

    /Users/davidedalcolle/Documents/Dropbox/apps/modx/core/components/ditto/lang/english.inc.php

    where i’m wrong??

    i’m running a local installation of modx rev b5 with mamp (osx)
      • 22295
      • 153 Posts
      you have [[Ditto?parents....
      should be [[Ditto? &parents....

        • 28215
        • 4,149 Posts
        Quote from: arx707 at Dec 22, 2009, 06:30 PM

        /Users/davidedalcolle/Documents/Dropbox/apps/modx/core/components/ditto/lang/english.inc.php

        where i’m wrong??

        Can you verify that file that is outputted...that it is actually there?
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Quote from: oori at Dec 22, 2009, 07:38 PM

          you have [[Ditto?parents....
          should be [[Ditto? &parents....
          The first parameter doesn’t need the & if it immediately follows the ? with no space.
            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
            • 2206
            • 22 Posts
            I took the code directly from the online basic tutorial. I tried also this:

            [[Ditto? &parents=`0`&depth=`0`&tpl=`list_li`&display=`all`&filter=`hidemenu,0`]]

            and this:

            [[Ditto]]

            But the output is still the same.

            @splittingred: good tip, the directory named "component" is not present in the "core" directory!

            Something is got wrong with the installation process? I’ll try to add the snippet manually
              • 8609
              • 607 Posts
              This might be a really silly question, but did you install grab Ditto using the Package Management tool and then install it? Does it show up in your snippets?
                • 17499 ☆ A M B ☆
                • 872 Posts
                I noticed on a new installation that Ditto weight is about 100+ ko with the previous beta and -40 with the last.

                Then i took a look in core and assets directory, Ditto and Reflact were missing!

                The package downloaded, or installed manually turned out to be the same. I had to reinstall the previous package to make Ditto work.

                Maybe there is an error with the package? Anyone facing the same issue?
                  • 2206
                  • 22 Posts
                  Quote from: einsteinsboi at Dec 23, 2009, 03:37 PM

                  This might be a really silly question, but did you install grab Ditto using the Package Management tool and then install it? Does it show up in your snippets?

                  yes i used the package management tool. the snippet is showed in the sinppet list with refect
                    • 17499 ☆ A M B ☆
                    • 872 Posts
                    You’re may be using the last version (alpha 3).

                    Check your core/components directory, if it’s empty, then it’s a package issue.

                    Uninstall it and download from the MODx website the previous package version and install it manually.
                      • 2206
                      • 22 Posts
                      the previous version work fine, thanks!