We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15987
    • 786 Posts
    This is an auto-generated support/comment thread for DittoCal.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    DittoCal creates a customizable calendar for your Modx blog. The calendar allows your users to navigate through your blog posts by clicking on the date to view the post.
      • 31654
      • 238 Posts
      Do you have a version that doen’t use a table?
        Web Development, Web Hosting & Search Engine Marketing by:

        Vitalized | UK
        w. www.vitalized.co.uk

        Website Design | Search Engine Marketing (SEM) | UK MODx web hosting, secure, fast & 100% MODx compatible

        Vitalized | Australia
        w. www.vitalized-australia.com.au

        Website Design | Search Engine Marketing (SEM) | Australian MODx web hosting, secure, fast & 100% MODx compatible
        • 25663 MODX Staff
        • 12,272 Posts
        An easy argument can be made that a calendar is semantically tabular data, if you’re just worrying about tables are evil for layouts.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 10487 MODX Staff
          • 1,535 Posts
          Great work, Kyle! smiley Good use of the JSON output from Ditto.

          I’ll definitely give it a try out this week and feedback.
            Garry Nutting
            Senior Developer
            MODX, LLC

            Email: [email protected]
            Twitter: @garryn
            Web: modx.com
            • 25663 MODX Staff
            • 12,272 Posts
            Indeed, great work... neglected to say that! tongue
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 33337
              • 3,975 Posts
              Great work Kyle!!

              Thanks for sharing.

              regards,

              zi
                Zaigham R - MODX Professional | Skype | Email | Twitter

                Digging the interwebs for #MODX gems and bringing it to you. modx.link
                • 15987
                • 786 Posts
                I thought about doing a calendar without tables, but it is a layout/design nightmare. If anyone has a good solution for displaying a calendar without tables I would love to see it.

                Quote from: rthrash at Jul 10, 2006, 09:03 AM

                An easy argument can be made that a calendar is semantically tabular data, if you’re just worrying about tables are evil for layouts.

                I agree with this. Tables seem very logical for displaying calender data, imo.
                  • 33175
                  • 711 Posts
                  Great work smiley and now some requests grin
                  Is it possible to add this :

                  • possibility to mask / show the next link after the month if the month after current is not yet (ex. : we are on July and I would like not show the next link to August
                  • possibility to display the month of the post shown : currently, if I navigate with the calendar to June, I select the 5th of June, the post of this date is shown but the calendar displays July. It is a bug ?
                  • possibilty to view all posts of one month by clicking on this
                    Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
                    • 15987
                    • 786 Posts
                    Quote from: Guillaume at Jul 10, 2006, 01:19 PM

                    Great work smiley and now some requests grin

                    Thanks smiley

                    Quote from: Guillaume at Jul 10, 2006, 01:19 PM

                    • possibility to mask / show the next link after the month if the month after current is not yet (ex. : we are on July and I would like not show the next link to August

                    That is a good idea, I will look into adding that.

                    Quote from: Guillaume at Jul 10, 2006, 01:19 PM

                    • possibility to display the month of the post shown : currently, if I navigate with the calendar to June, I select the 5th of June, the post of this date is shown but the calendar displays July. It is a bug ?

                    This isn’t a bug, the functionality just isn’t there. I think this shouldn’t be to hard to add.

                    Quote from: Guillaume at Jul 10, 2006, 01:19 PM

                    • possibilty to view all posts of one month by clicking on this

                    You can already do this. In the snippet there is an array named monthLinks (it is commented out). Just setup a page that displays the month of posts and then add it to the array. There may be an easier way to do this with passing in some parameters to a page with a ditto call, so you don’t need a page for each month, but I will have to research that.
                      • 17052
                      • 41 Posts
                      sorry for my bad english =)

                      Have some problem with yr nice snippet

                      u can watch error here: http://schizo-insi.de/blog
                      json: http://schizo-insi.de/_system/json

                      line 120 that is:
                      foreach($postData->entries as $n => $v) {

                      Error: Invalid argument supplied for foreach()

                      Ditto latest (1.0.2) version. What i do wrong?