We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25883
    • 128 Posts
    Hi,

    We’re having a problem with Ditto version 2.0.2.

    It is only searching directly under the parent container. (ID #2 in this example)

    It is not searching the subcontainers and their children. It is ignoring the tagged documents that are nested within subfolders.


    Here is the call - what do we need to change?

    [[Ditto? &startID=`2` &hideFolders=`1` &multiLevel=`1` &descendentDepth=`4` &tpl=`miniProduct` &display=`9` &paginate=`1` &sortBy=`productPrice` &sortDir=`DESC` &paginateAlwaysShowLinks=`0` &debug=`0` &extenders=`request` &tplPaginatePage=`page` &tplPaginateCurrentPage=`currentPage` &tagDelimiter=`,` &tagData=`productFilters` &tagMode=`onlyAllTags` &tags=`tag1,tag2`]]


      • 25883
      • 128 Posts
      I found the problem:

      Upgrading to Ditto 2.1 and using the parameters found here:
      http://ditto.modxcms.com/files/snippet-ditto-php.html

      solved the issue.


      However I originally found the `descendantDepth` parameter, etc. using a page that is live on the MODx website but should be removed because the information is deprecated.

      Here is the page: http://modxcms.com/ditto_parameters.html

      Hope the moderators might be able to get that old information taken off the site, or replaced with a redirect to the up-to-date data.

      Thanks!