We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30734
    • 44 Posts
    Hello,
    I have a very similar question to a previous post that was never answered.

    In archivist it sorts by publishedon. Is there anyway to have it sort by a template variable like EventStartDate?
      • 30734
      • 44 Posts
      No one is able to help? Would there be a way to edit the snippet to pull the TV date and time info instead of the publishedon info?
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I've never used this, but have you tried adding &sortBy=`tvname`, or maybe &sorBy=`tv.tvname` to the snippet's properties?
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 30734
          • 44 Posts
          Quote from: sottwell at Jan 20, 2013, 11:46 PM
          I've never used this, but have you tried adding &sortBy=`tvname`, or maybe &sorBy=`tv.tvname` to the snippet's properties?

          Thanks for the reply. Unfortunately I have tried both of those things and neither works. If I add that the archive list disappears.
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Looking at the code, it doesn't appear to be programmed to look at TVs for anything. Perhaps this should be added as a feature request?
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 39426
              • 15 Posts
              Hey,

              I am using MODX Revolution 2.2.8-pl and Archivist 1.2.4-pl.

              Before I updated my MODX everything works pretty fine. But now - a few day after upgrade from 2.2.4 to 2.2.8 - I realized that the useFurls setting from Archivist doesn't work any more.
              When I click on an Archivist link I get an error 404 code. I don't changed another setting, I just upgraded the MODX and some packages (not Archivist).
              When I change the useFurls to "0" then everything works fine. But I want to use FURLs, like before. Have you got an idea what went wrong now?

              Blog: http://traumfinsternis.de
              Archivist example link: http://traumfinsternis.de/blog/archiv/2011/12


              Resource structure:

              Blog (home page)
              -- 2010
              -- 2011
              -- 2012
              -- 2013
              -- Archive (with getPage
              Other pages...

              The resources with years contains child resources with all my blog posts.

              My .htaccess file is activated and the FURL setting is made.
              In my system settings I also activated "use friendly urls".


              Archivist call:
              [[!Archivist@archiv? &target=`[[++blog_archiv_target]]` &parents=`[[++blog_id]]`]]
              


              archiv property set:
              groupByYear=`1`
              limit=`0`
              tpl=`archivRow`
              



              getPage call:
              [[!getPage@archiv-anzeige? &parents=`[[++blog_id]]`]]
              [[!+ergebnisse]]
              [[!+page.nav:notempty=`
                  <div class="content_box">
                   <div class="inner">
                    <h1>Mehr Einträge</h1>
                    <ul class="paginate_seiten">
              [[!+page.nav]]
                    </ul>
                   <div class="end"></div>
                   </div>
                  </div>`]]
              


              archiv-anzeige property set:
              element=`getArchives`
              elementClass=`modSnippet`
              hideContainers=`1`	
              includeContent=`1`	
              includeTVs=`1`
              limit=`5`
              processTVs=`1`	
              showHidden=`1`
              tpl=`archivTpl`
              


              Thanks!