We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3689
    • 264 Posts
    I think im pretty close to getting this but ill post it here because I cant get it to work.

    I have this on my home page (site.com)

    <ul>[!Ditto?&documents=`4`&depth=`2`&tpl=`recentProjects`!]</ul>
    document 4 is the "Projects" page and Ditto is displaying "Projects" instead of the child so I cant be too far off..


    my recentProjects:
    <li><a href="[+url+]"><h3>[+title+]</h3></a></li>

    the projects im trying to display as links are site.com/projects/here.. i tried 0-4..5 says no document found.
      • 26931
      • 2,314 Posts
      anonymized-26931 Reply #2, 17 years ago
      try
      [!Ditto? &parents=`4` &depth=`2` &tpl=`recentProjects` !]


      Any set of documents can be selected for listing using the &parents parameter to specify the ID of the document(s) they are children of
      &documents selects specific documents to display. It takes a comma-separated list of IDs.
      http://www.pogwatch.com/ditto/ditto-parents.html
        • 3689
        • 264 Posts
        Quote from: sharkbait at Sep 19, 2009, 07:14 AM

        try
        [!Ditto? &parents=`4` &depth=`2` &tpl=`recentProjects` !]

        Thanks grin it worked
          • 26931
          • 2,314 Posts
          anonymized-26931 Reply #4, 17 years ago
          good! laugh