We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28121
    • 107 Posts
    I am following the tutorial on this page and trying to get a list of archived posts displaying in a resource
    http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution

    On the actual archives page (id 29), I have this code



    [[!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>
    `]]




    I have getPage installed, my tpl called blogPost is setup (and works on other pages) but beyond that, I am not sure what is wrong. The page shows a page title but no content underneath it.
      • 4723
      • 0 Posts
      I’m afraid that I am having the same issue with mine as well...

      MODX Revolution 2.1.1-pl (traditional)
      mysql 5.1.52
      PHP 5.2.15
        • 7527
        • 437 Posts
        Hi, did this issue ever get a resolve as I am having similar issues?

        Regards,

        DS
          www.PawsForWildlife.co.uk
          www.Borntobrick.co.uk
        • Same issue, may I know which version of getResources you have?

          Some of my websites archives stopped working after upgrading getresources from 1.6.0 to 1.6.1
            TilliLab | MODX Ambassador
            website