We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for Archivist 1.0.0-pl by splittingred.

    Brief Description:

    Automatically generate archive navigation, friendly-url mapping, and wordpress-style archives with this handy Extra.

    • Fixed bug where unpublished/deleted were showing in Archivist snippet
    • Fixed bug with setlocale being ignored for date formatting
    • Fixed bug with FURL generation

    See the official documentation at:http://svn.modxcms.com/docs/display/ADDON/Archivist
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 3109 ☆ A M B ☆
      • 894 Posts
      Hey shaun sorry to bother you again but if you can can you take a look at this post, I don’t want to double post in different parts of the forum.

      Thanks.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 12491
        • 90 Posts
        Dear Shaun,

        First let me compliment you on the work you are doing on MOdx Revolution.
        I am Hurby, a Dutch webdesigner.

        Sorry for disturbing you with my ignorense but I have a question about language in Archivist:

        i don’t understand how to change the language of for example "August" to Augustus in Dutch.
        I’f changed the month names in System-lexicon Management for the core, this had no effect on Archivist
        Should there be something in the section for Archivist ? names and value are empty in my manager.

        In the snippet properties, snippet, chuncks and resources files i can’t find settings for it either.

        i’m working for modx for the first time so probebly i’m missing something.
        For Quip i changed some chuncks and lexicon entry’s and i managed tot get it all dutch.
        I would like the same for Archivist

        The project:
        http://modx.hurby.com/over-ons/blog.html

        ps is there a way to change this: archief.html2010/08
        into
        This: archief/2010/08.html

        Thanx
        Excuse my english reading is one… Writing another.
          Sommige mensen hebben aan een half woord genoeg
          • 37514
          • 178 Posts
          Hi,

          I’m getting a weird by where the archives list once, then disappear:

          http://jim.killock.org.uk/archives/2009/04

          This is pretty much out-of-the-box on this page. Anyone any ideas?
            • 28215
            • 4,149 Posts
            Set &cache=`0` in the getResourcesTag call.
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 12491
              • 90 Posts
              Hi there i don’t understand how to change the Archivist language of for example "August" to Augustus in Dutch.
              I’f changed the month names in System-lexicon Management for the core, this had no effect on Archivist
              Should there be something in the section for Archivist ? names and value are empty in my manager.

              In the snippet properties, snippet, chuncks and resources files i can’t find settings for it either.

              someone?
                Sommige mensen hebben aan een half woord genoeg
                • 28215
                • 4,149 Posts
                hurby: It does it via your MySQL settings...this needs to be refactored to work in different language contexts. Can you file an issue here:

                http://github.com/splittingred/Archivist/issues/

                And I’ll get on it.
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • 37514
                  • 178 Posts
                  Excellent, thank you, that worked. Wonder why the demo content didn’t have that set?
                    • 30319
                    • 406 Posts
                    I have this news_post template CHUNK based on the blog how-to:

                    <h2>[[+pagetitle]]</h2>
                    <p>
                    [[+publishedon:strtotime:date=`%B %d, %Y`]]
                    [[+tv.news_tags:notempty=` | Tags: 
                    [[!tolinks? &items=`[[+tv.news_tags]]` &key=`tag` &target=`9`]]`]]
                    </p>
                      [[+introtext:notempty=`<p>[[+introtext]]</p><hr />`]]
                      <p>[[+content]]</p>
                    


                    This chunk code works properly on the blog page but NOT in the Archivist resource page, wny??

                    In other words on a page created with Archivist like so:

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


                    Why does the [[+content]] placeholder NOT work but the [[+introtext]] placeholder DOES work??


                      • 22303 MODX Staff
                      • 10,725 Posts
                      getPage did not work with the toPlaceholder property until the most recent update. You can try upgrading to latest getPage or do not use the toPlaceholder property and return the output directly from getPage.