We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28080
    • 2 Posts
    Hi, recently started working with the new Ditto(v 2.0.2) and Reflect(v 1.0.2). Took a while to understand some of the new changes but got it right at the end.

    The problem I have now is that when someone views the archives with Reflect I want them to be able to click on the year/month and see a page with all the articles for that year/month. Reflect already has a link when you click on year/month but simply takes the user to the page which has the Ditto snippet.

    My code for is as follows:

    Ditto:
    [[Ditto? &parents=`1` &summarize=`2` &truncLen=`200` &truncOffset=`20` &sortBy=`pub_date` &dateSource=`pub_date` &dateFormat=`%d %b %Y` &tpl=`Ditto_template`  &commentschunk=`Comments` &extenders=`summary,dateFilter` &paginate=`1` &paginateAlwaysShowLinks=`1`]]
    
    Showing [+start+] - [+stop+] of [+total+] Articles | Page [+currentPage+] of [+totalPages+]
    [+previous+] [+pages+] [+next+] 


    Reflect:
    [[Reflect? &targetID=`9`&dittoSnippetParameters=`parents:1|sortBy:pub_date' &dateSource=`pub_date` &monthSortDir=`DESC` &dateFormat=`%d %b %Y` &tplMonth=`reflectMonth` &groupByYears=`1` showItems=`1`]] 


    When the user is taken to the Ditto page via Reflect’s year/month link it always shows the first page of the pagination.

    The url it calls is:

    Year:
    index.php?id=9&reflect_25_year=2007&reflect_25_month=false&reflect_25_day=false&reflect_25_start=0


    Month:
    index.php?id=9&reflect_25_month=5&reflect_25_year=2007&reflect_25_day=false&reflect_25_start=0


    If someone could help me out I will appreciate is.

    Thanks
      • 20349 ☆ A M B ☆
      • 453 Posts
      This is bothering me too... huh
        BASE - Web Design Studio
        MODX Ambassador

        Website
        • 28080
        • 2 Posts
        *bump*