We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39862
    • 3 Posts
    Hi,
    I'm currently running MODX 2.2.2-pl with Archivist 1.2.3-pl
    I've followed this tutorial to configure the archives http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution#CreatingaBloginMODxRevolution-SettingupYourArchives

    The Archivist snippet on the side navigation is working perfectly fine, and grouping blog articles per month as expected.

    [[!Archivist? &parents=`2` &target=`51`]]

    Target is a container and the FURLs are being generated accordingly.

    However in the actual archives page, ALL the blog posts are displayed without any filtering.
    And that is regardless of the values in the query string.

    [[!getPage?
      &element=`getArchives`
      &elementClass=`modSnippet`
      &tpl=`blogPost`
      &hideContainers=`1`
      &pageVarKey=`page`
      &parents=`2`
      &includeTVs=`1`
      &toPlaceholder=`archives`
      &limit=`10`
      &cache=`0`
    ]]
     
    <h3>[[+arc_month_name]] [[+arc_year]] Archives</h3>
     
    [[+archives]]
     
    [[!+page.nav:notempty=`
    <div class="paging"> 
    <ul class="pageList"> 
      [[!+page.nav]] 
    </ul> 
    </div>
    `]]


    Funnily enough, the url values are somehow parsed as you can see the heading at the very bottom of the page.
    Which shows that "toPlaceHolder" isn't working either as the full content is displayed above the actual heading.

    You can see the live site right here http://mjibusinesssolutions.com/archives

    I have also tried disabling FURLs in the Archivist snippet
    [[!Archivist? &parents=`2` &target=`51` &useFurls=`0`]]

    But I obtain the same results.

    I'm very new to MODX and this is a site that I've inherited (originally in 2.0).
    Meaning that I might have missed something rather obvious...

    Thanks,

    Jaume