We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13577
    • 302 Posts
    Beta Release

    @Mithrandir
    I’ve incorporated your multi-config file suggestion into this release with the variable $configSelect. I’ve also included code so that it should work for existing users without a language specific config file. In other words, it isn’t required that you change easyEvents.config.php to easyEvents.config_en.php for it to work.

    @VanMeter
    Sorry for the slow response on this one, but life is as it is. This beta should fix the problem you were having with the list of events when JS is off. Pretty dumb error really. Not sure why I coded it to break like that wink

    I haven’t done TONS of testing on this yet, ergo the beta here, but I imagine I’ll release it as 1.5.3 here shortly if I can get some feedback on these issues.
      Standard Disclaimer
      I could be totally wrong.
      • 19741
      • 90 Posts
      Hi jaredc,

      thank you for the new version. I tested the new "configSelect"-Parameter and it’s okay. No problems with "JS off" here, too.
        Bye,
        Mithrandir
        • 31290
        • 37 Posts
        I have been testing the No JS mode and you seem to have fixed all mentioned errors. It works perfectly grin
          • 13577
          • 302 Posts
          Version 1.5.3 is available

          * Fixed bug when JavaScript is not available
          * Added multi-configuration file option for multiple configurations (e.g. multiple languages)

          This is the same as the beta above, just in an "official" release.
            Standard Disclaimer
            I could be totally wrong.
            • 19227
            • 9 Posts
            Thanks for this jaredc, it’s a great wee events system.

            Not sure if this is any use to anyone else, or just me being dense, but I found the cal stopped working when I wasn’t logged in. Turned out I hadn’t set the document created in step 5 of the instructions (AJAX: EasyEvents) to be published. Doh.

            It works great now though. smiley
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Don’t feel bad, I just got bitten by that one last week rolleyes
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 17162
                • 27 Posts
                Jaredc, your snippet is just what I was looking for smiley , but...

                I downloaded, EasyEvents 1.5.3 and I have a small problem - everything works fine in IE, but in Firefox links don’t work. I think this is the problem with JavaScript, because I can right-click and open it in new tab.

                Just one another question in the header of the document I have link:

                <script type="text/javascript">EasyEvents.ajaxPageUrl = ’/modx1-0961p2/index.php?id=56’;EasyEvents.calDivId = ’ee_miniCalendarContainer’;EasyEvents.listDivId = ’ee_listDetailsContainer’;</script>

                Does it have to be this way huh

                Thanks,
                Lina

                Edited:
                Maybe it will help someone - My AJAX:EasyEvents Page was not published! Now it works fine in IE and in Firefox! WOW! grin
                Lina
                  • 36582
                  • 463 Posts
                  Fantastic module and the documentation is superb.

                  Can you tell me how I can alter the order of output of the mini list from:

                  21/07/2008 - 22/07/2008
                  Event 1
                  event 1 description
                  22/07/2008
                  Event 2
                  event 2 description
                  31/07/2008 - 01/08/2008
                  Event 3
                  event 3 description

                  to:
                  Event 1
                  21/07/2008 - 22/07/2008
                  event 1 description
                  Event 2
                  22/07/2008
                  event 2 description
                  31/07/2008 - 01/08/2008
                  Event 3
                  31/07/2008 - 01/08/2008
                  event 3 description

                  Many thanks
                    Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
                    • 19741
                    • 90 Posts
                    I think you must change the template between
                    $_templates['listItem'] = <<<STOP

                    and
                    STOP;


                    in your config-file.
                      Bye,
                      Mithrandir
                      • 36582
                      • 463 Posts
                      Thank you - that worked fine
                        Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk