We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10405
    • 288 Posts
    Hi, I'm in the process of setting up a blog and I'm most of the way there, but for some reason the links generated by Archivist don't seem to be working- even though I've checked and followed the relevant tutorial.

    Basically in my blog template I'm calling Archivist like this:

    [[!Archivist? &target=`13` &parents=`11`]]
    


    Where 13 is the ID of the archive page and 11 is the container resource into which blog pages are added.

    Archivist autogenerates a "December 2011" link with (1) next to it, which is great (there's only one blog, which i've just set up) but when you click it, it tries to go to a resource that doesn't exist and seems to be generated to the site home page.

    The URL it tries to go to is: http://www.mysite.com/index.php?id=132011/12

    But if I manually correct the URL so that ?id=13 then it shows fine. How can I get the autogenerated link to work?
      • 10405
      • 288 Posts
      Just to add, this is the snippet call in my Archives resource:

      [[!getPage?  
         &element=`getArchives`  
         &elementClass=`modSnippet`  
         &tpl=`blogPost`  
         &hideContainers=`1`  
         &pageVarKey=`page`  
         &parents=`11`  
         &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>`]]
      
        • 28000 ☆ A M B ☆
        • 397 Posts
        I am having this issue as well. It seems that I already faced it, but forgot how to solve it. Can anyone refresh my memory?
          Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
          • 28000 ☆ A M B ☆
          • 397 Posts
            Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.