We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21606
    • 46 Posts
    Have the same problem as described here:

    http://modxcms.com/forums/index.php/topic,53763.0.html

    Implemented their fix, but no joy - my date format on the link from an Archive widget still shows in my case:

    http://(site)/index.php?id=62011/06

    the target resource is 6 and the year/month of the items being archived were all created in June.

    Using the afore mentioned fix and code from the blog I have:

    [[!getPage?
    &element=`getArchives`
    &elementClass=`modSnippet`
    &tpl=`blogPost`
    &hideContainers=`1`
    &pageVarKey=`page`
    &parents=`2,4,8`
    &includeTVs=`1`
    &toPlaceholder=`archives`
    &limit=`10`
    &cache=`0`
    &showHidden=`1` ]]

    <h3>[[+arc_month_name]] [[+arc_year]] Archives</h3>
    [[+archives]] [[!+page.nav:notempty=`>
    <div class="paging">
    <ul class="pageList">[[!+page.nav]]</ul>
    </div>
    `]]

    and the link on the home page to get to the above resource:

    <h3>Archives</h3>
    <ul>
    [[!Archivist? &target=`6` &parents=`2,4,8`]]
    </ul>

    There is a system setting, archivist.archive_ids (name and key) with a value of: 6:arc_ no idea what that’s about or what sets it. Removed it, used different variations of it, i.e. set it to 6 then arc_ no joy there either.
    (it’s referred to as being in Area:Friendly URL - both friendly alias/url are not being used and changing them didn’t help)

    Running on a Linux system, MODx 2.0.6pl 2, unknown apache and php version as this is a client setup that’s locked down to me.

    Ideas? Thanks for your help.
    • Hi, I had the same problem as regards the link format:

      http://(site)/index.php?id=62011/06

      I resolved switching on the MODX friendly url, and setting the parameter :

      &useFurls=`0`


      so I have this call of Archivist:

      [[!Archivist? &target=`184` &parents=`5` &limit=`30` &useFurls=`0` &tpl=`link_footer`]]


        TilliLab | MODX Ambassador
        website
        • 43228
        • 1 Posts
        Quote from: tillilab at Jun 27, 2011, 01:18 PM
        Hi, I had the same problem as regards the link format:

        http://(site)/index.php?id=62011/06

        I resolved switching on the MODX friendly url, and setting the parameter :

        &useFurls=`0`


        so I have this call of Archivist:

        [[!Archivist? &target=`184` &parents=`5` &limit=`30` &useFurls=`0` &tpl=`link_footer`]]



        this did the trick for me ... thanks!
        • This helped the link go to the correct page, but now on the achive page, no list is being generated.

          I am using this code:
           [[!getArchives? &parents=`37` &toPlaceholder=`archives` &useFurls=`0` &cache=`0`]]
          <h2>[[+arc_month_name]] [[+arc_year]] Archiv</h2>
          [[+archives]]

          Also no MODX errors are being generated.
          Any thoughts?
            Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
            • 45353
            • 12 Posts
            Hi,

            My team is having this same problem. Has there been any resolution discussed?

            Thanks