We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10896
    • 76 Posts
    Hey all,

    I created a MODx based blog using the wikipage here:

    http://wiki.modxcms.com/index.php/Basic_Blog

    ... everything is working like a charm. I was wondering how it is possible to create a month/year list as a sort of archive navigation for the blog. So that any month/year that was posted would show up in the archive list and any month/year that didn’t have posts wouldn’t show up. Something like

    Archive
    January 2007
    February 2007
    April 2007
    June 2007

    Also I setup a listing of categories to navigate the archives. Is it possible to get a count of postings for each category? Like:

    Language Posts
    Italian (9)
    English (100)
    French (33)

    Thanks!
    -bryan


      • 10896
      • 76 Posts
      OK. I’m going to answer the first part of my own post.

      http://ditto.modxcms.com/tutorials/wordpress-style-archives.html

      There is a wordpress style archives listing... which is exactlywhat I was trying to replicate.

      I’m going to keep looking for the summary count item too, but if someone knows that off hand let me know

      smiley

      -bryan
        • 33992 ☆ A M B ☆
        • 455 Posts
        Hi,
        I think using [+total+] placeholder by ditto will help you for counting.


        Thanks
        AHHP
          God loves me. 【ツ】


          MODX.ir (Persian Support)

          Boplo.ir/modx/ (Persian)
          • 10896
          • 76 Posts
          Thanks for the response. I’m not sure I’m doing things properly. I’ve created a category system as instructed on this page:

          http://wiki.modxcms.com/index.php/Category_Tagging_with_Ditto

          Thus each category has a specific document landing page. These pages have the ditto call for that specific category. Therefore, my category listing is created by WayFinder as a menu of these docs. Would I have to include the ditto call in the way finder menu template? Or is there a better way to get a category listing with links rather than using wayfinder in this way?

          Thanks
          -bryan