Hi everybody!
First steps with Ditto and I’m afraid I need to ask the forum for help already.
I’m using Ditto 2.0.2 on MODx 0.9.6 and have placed this ditto call in a folder with the id 60:
[[Ditto? &parents=`0,60` &depth=`5` &showPublishedOnly=`0` &showInMenuOnly=`0` &hideFolder=`0` &total=`all` &display=`10` &tpl=`nl_sidebar`]]
but I’m only getting the "No documents found" error message from that. I had added parent 0 because I didn`t get anything from 60 and thought that might help, which it didn’t.
The chunk is from my demo content and is supposed to be a default tpl for ditto, it reads:
<strong><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></strong><br />
[+longtitle+]<br /><br />
Also, I had copied the following css from the Ditto2 Blog section of modx.css and inserted it into the template I’m using for children of id=60, but that didn’t make a difference either
.ditto_summaryPost h3 {
border-bottom: 1px solid #ccc;
margin: 0px !important;
padding: 5px !important;
color: black;
}
.ditto_summaryPost .ditto_info {
background-color: #F8F8F8;
padding: 5px !important;
font-size: 0.8em;
color: black;
}
.ditto_link {
font-size: 76%;
text-align: right;
}
.ditto_paging {
border-top: 1px solid #ccc;
padding: 10px;
font-size: 86%;
color: #618100;
}
#ditto_pages .ditto_currentpage {
border: 1px solid #618100;
padding: 1px 5px 2px;
margin-right: 1px;
background-color: #9c0;
color: #fff;
}
#ditto_pages .ditto_off {
border: 1px solid #ccc;
padding: 1px 5px 2px;
margin-right: 1px;
color: #ccc;
}
#ditto_pages a, #ditto_pages a:link, #ditto_pages a:visited {
border: 1px solid #9c0;
padding: 1px 5px 2px;
margin-right: 1px;
text-decoration: none !important;
color: #618100;
}
#ditto_pages a:hover {
background-color: #fff;
color: #000;
}
#ditto_archivelist ul {
list-style-type: none;
margin-left: 15px;
padding-left: 0;
}
#ditto_archivelist ul ul{
list-style-type: square;
margin-left: 35px;
}
#ditto_archivelist .ditto_month {
font-weight: bold;
}
Does anybody have a clue to what went wrong here? Any hints would be very much appreciated.
Greetings, Alex