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)
you have [[Ditto?parents....
should be [[Ditto? &parents....
-
☆ 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.
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
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?
-
☆ 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?
-
☆ 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.
the previous version work fine, thanks!