We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12342
    • 12 Posts
    Hello,
    here is my problem:
    when i go to http://mysite/articles
    it call the resource articles.
    i have ditto call on my articles resource:
    [!Ditto?parents=`3`&id=`articles`&debug=`0`&tpl=`articlesMainTemplate`&paginate=`1`&paginateAlwaysShowLinks=`1`&display=`2`&dateSource=`pub_date`&dateFormat=`%b %d %Y`&orderBy=`pub_date DESC` !]


    the template for the articles resources calls a chuck: {{articlesArchive}} that calls the reflect snippet:
    [!Reflect?&id=`articles`&getDocuments=`1`&dateSource=`pub_date` &dittoSnippetParameters=`parent:3|sortBy:pub_date`&targetID=`19`&groupByYear=`1`&dateFormat=`%B`!]


    when i click on one of the links which works it brings me to this "archive" landing page which has this ditto snippet:
    [!Ditto?parents=`3`&debug=`0`&id=`archive`&tpl=`articlesMainTemplate`&paginate=`1`&extenders=`summary,dateFilter`&paginateAlwaysShowLinks=`1`&display=`2`&dateSource=`pub_date`&dateFormat=`%b
     %d %Y`!]


    on this page the results show up as expected but i get an error:"The Ditto object is invalid. Please check it. " where the Archive links were at.