We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30319
    • 406 Posts
    I already HAVE all the latest packages installed...getPage 1.0.0-pl and getResources 1.1.0-pl and the most current Archivist...I double-checked before replying.

    The above-mentioned bug must not yet be fixed...??

    I twice tried using getPage directly on the archives resource page and I get the same result -- no display of [[+content]] -- also cleared site cache...

    Thank you, Tom



      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: TomMLS at Sep 01, 2010, 11:42 AM

      I already HAVE all the latest packages installed...getPage 1.0.0-pl and getResources 1.1.0-pl and the most current Archivist...I double-checked before replying.

      The above-mentioned bug must not yet be fixed...??

      I twice tried using getPage directly on the archives resource page and I get the same result -- no display of [[+content]] -- also cleared site cache...
      That issue is fixed. I’m not familiar with Archivist tbh, but I now notice that you do not have the includeContent property set to 1 in your snippet call, which is the reason [[+content]] will not render anything.
        • 30319
        • 406 Posts
        Thank you...!! smiley smiley

        I did not know there was an includeContent item for Archivist or getPage etc. etc.

        I must have somehow mis-copied etc. from the blog howto...and then never saw the includeContent item despite reading the howto several times.

        Thank you, Tom
          • 15221
          • 20 Posts
          Hello
          a already crash my brain ((
          i check my snippet calls over 9000 times, but my archive page show me 404 ((
          i have url like www.blabla.com/archive/2010/06

          when I open just www.blabla.com/archive - the page is founded,
          but any paramater after last "/" like "www.blabla.com/archive/anything" return 404 ((

          FURL is on -
          maybe some problems with .htaccess
          ??
          embarrassed

          upd. help) anybody...


            • 15221
            • 20 Posts
            is anybody out here??)
            I setup new modx, and demo content - so Archivist don’t work( i have page 404.
            what is wrong?
              • 36592
              • 970 Posts
              Quote from: kadavr at Oct 03, 2010, 04:07 PM

              I setup new modx, and demo content - so Archivist don’t work( i have page 404.
              Do you have the plugin called "ArchivistFurl" which is connected to OnPageNotFound... ?
              I suppose this plugin is installed when you install Demo Contents.
                • 15221
                • 20 Posts
                Quote from: tkfm at Oct 03, 2010, 08:38 PM

                Quote from: kadavr at Oct 03, 2010, 04:07 PM

                I setup new modx, and demo content - so Archivist don’t work( i have page 404.
                Do you have the plugin called "ArchivistFurl" which is connected to OnPageNotFound... ?
                I suppose this plugin is installed when you install Demo Contents.


                thank you!!! i found!
                i don’t know about plugin.(
                it’s of course been installed, but not worked for cyrillic url’s. I add urldecode function and it work!

                but i have another problem - getPage pagination return not full path. on page blabla.com/archives/2010/05 links in pagination have href="blabla.com/archives/?page=2" not "blabla.com/archives/2010/05?page=2"

                ) i need help again.
                  • 36592
                  • 970 Posts
                  Quote from: kadavr at Oct 04, 2010, 01:12 PM

                  but i have another problem - getPage pagination return not full path.
                  on page blabla.com/archives/2010/05 links in pagination have href="blabla.com/archives/?page=2" not "blabla.com/archives/2010/05?page=2"
                  I have the same problem.
                  I suppose it’s not Archvist matter though...
                    • 28000 ☆ A M B ☆
                    • 397 Posts
                    This is regarding the one person’s post on changing the language in Archivist so that it will say "Mai" in German instead of "May", for example. Has this been further looked into?

                    Thanks.
                      Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
                      • 18463
                      • 121 Posts
                      Martijn van Turnhout Reply #20, 15 years, 3 months ago
                      Hi, I have an Archivist issue:

                      I’ve created a unordered list for the archives:

                        <ul>
                          [[!Archivist? &parents=`3` &tpl=`news_links` &setLocale=`true` &target=`25`]]
                        </ul>
                      


                      And I’ve set every document that uses this chunk to uncached.

                      The tpl news_links looks like this:

                      <li><a href="[[+url]]">[[+date]]</a></li>
                      


                      The Archive resource is set to uncached and contains the following code:

                      [[!getArchives?
                         &parents=`3`
                         &tpl=`news_archives`
                         &toPlaceholder=`archives`
                      ]]
                      
                      <div id="overview">
                        [[!+archives]]
                      </div>
                      


                      The tpl news_archives is setup like this:

                      <article class="item archive">
                        <a href="[[~[[+id]]]]" class="link_more">
                          <h1>[[+pagetitle]]</h1>
                        </a>
                        <p class="item_date"><time datetime="[[+publishedon:strtotime:date=`%Y-%m-%d`]]" pubdate>[[+publishedon:locale=`nl_NL`:strtotime:date=`%d %b %Y`]]</time></p>
                        <p>[[+introtext:ellipsis=`280`]] <a href="[[~[[+id]]]]">Lees verder</a>.</p>
                      </article>
                      


                      The getPage resource for which the archives ares used for, looks like this:

                      <div id="overview">
                        [[!getPage@Lassen:default=`<p>Geen resultaten.</p>`? &element=`getResources` &parents=`[[*id]]` &tpl=`news_overview` &showHidden=`1` &includeTVs=`1` &processTVs=`1` &tvPrefix=`` &cache=`0`]]
                      </div>
                      


                      Now, the Archivist link works perfectly on every page, except on the Archive page itself. On that page, it has suddenly reverted back to the default English date. Instead of the Dutch one. The Archive page has been set to uncached, but no archived resources are visible! The archive is empty!

                      I’m almost certain this behavior wasn’t visible before I upgraded to 2.1.1 PL. I’m not 100% certain though. Is there anything I’m missing here?