We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="extras/package/687">mxCalendar 0.0.6-rc1</a> by charless.

    Brief Description:
    mxCalendar for ModX was created to fill in the gap of event calendar capabilities of ModX. It fully supports ModX templating for greater control of your sites look-n-feel.



    Core Features:

    * Event management through Manager Module interface

    * Start / End date times

    * Optional past event display

    * Full calendar view with previous/next click through

    * Upcoming events list

    * Roll-over (Lightbox) view or click to full event view

    * External resource linking

    * Multiple events per day

    * Single Events across multiple days

    * Reoccurring events

    * Parameter to display event duration (days,hours,minutes)

    * Parameter to display event start and end times (uses date(format) according to PHP Date manual)

    * events sorted by date,time so the first event of the day is first

    * Location integration with Google Map API v3

    * AJAX event detail view

    * Theme capabilities for full display and layout control
      • 26016
      • 561 Posts
      Hi!
      Wow, first person to comment on a new app. smiley This is looking very promising, as I’ll need to deal with events pretty soon on a site!

      I did run into some glitches... here’s an error I got on install:

      Warning: XMLReader::open() [xmlreader.open]: Unable to open source data in /blahblah/assets/modules/mxCalendar/mxCalendar.class.php  on line 1943
      
      Warning: XMLReader::setParserProperty() [xmlreader.setparserproperty]: Invalid parser property in /blahblah/assets/modules/mxCalendar/mxCalendar.class.php on line 1944
      
      Warning: XMLReader::read() [xmlreader.read]: Load Data before trying to read in /blahblah/assets/modules/mxCalendar/mxCalendar.class.php on line 1945


      Looking at the code and my files, it seems that this little beauty is missing:
      assets/modules/mxCalendar/config/config.xml
      (I checked the Google version of the zip, too, it’s not there either)

      The install did complete. I tried the non-Ajax display, and got a nice looking calendar. I clicked on my event, and was able to display its text. I had entered a good address, and I can see that some google map code showed up, but no map. I’m hoping this is due to the missing config.xml. smiley

      I also tried the Ajax type page using a destination doc with no template. Just got a blank screen. The mootools stuff seemed to load OK. I have tons of other Javascript libraries loading, Foxy Cart stuff, JQuery, some calendar stuff, God only knows what else, maybe that stuff is fighting.

      Last glitch: The dates seemed to work fine, and the time of day did seem to work, although when editing the event, the time displayed was not the edited time, just went back to 12:00.

      Hope that helps!
      Dave

      I’m running Evo 1.04, linux, PHP5, Firefox, MySQL 5+
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 34084 ☆ A M B ☆
        • 756 Posts
        samba - the assets/modules/mxCalendar/config/config.xml file is created by the script, well normally, when the module is first run. It sounds like however you are able to view the full admin and got the successful install message I assume. The system would need write permissions to the assets/modules/mxCalendar/config/ folder to create that.

        The second item, Google Map, there is still a legacy issue with the google map not displaying in ajax lightbox container which I should have correct in the next release.

        let me know after you check the permissions

        cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.
          • 26016
          • 561 Posts
          Hey Charles!
          I’m sorry, I think I spoke too soon... I had taken the error message literally, but apparently the file was there after all!

          I just did this test: I deleted the config.xml file, and reset the folder permissions back to 755. Then I tried invoking the module again. I got the same error - it looked just like the first post-install... then after clicking the "Begin" button (or whatever it said), I could see the two calendar events I had put in before, and the config.xml was there! Sorry about the confusion.

          So apparently I’m basically operational, and I can see the calendar and click through to the text of each event! I look forward to your further Google map changes and Ajax stuff with eager anticipation!

          In case it’s any help, I couldn’t see a Google map whether using Ajax or non-ajax. Additionally, just now I tried switching the template to the goofy default MODx template, and I already see a little more pop-up stuff when I hover above the calendar links, so my mountain o’ Javascript in my main template may be too radical.

          I think some users may find that install error message a little scary. I’m in a SUEXEC environment, btw, and I believe the terminology is that PHP is run as a CGI instead of an Apache module. I like this environment, because I very rarely have to set any permissions to 777.

          Great job coding this, it’s looking very good so far. Thanks!
          Dave

            MODx and Wordpress development
            Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
            • 36507
            • 9 Posts
            I’m having a couple of issues that I think have to do with the event.detail.html

            VERY happy so far with this, this is exactly what I’ve been looking for. I’m no php expert (but I’m learning bit by reading and learning to "playing" in Modx) I noticed that the link back to calendar isn’t working for me [+mxcEventDetailBackToCal+]

            The Time and Location placeholders are appearing fine in the Event however I have no Title [+mxcEventDetailTitle+] displaying or as it appears is known the Google Maps [+mxcEventDetailGoogleMap+]

            And my Categories don’t seem to work. I’ve tweeked and played and got the Template themed how I want it, even if I could just get the label Event Title to appear in the Event Details page I’d be clicking my heels.

            I’ll keep plugging away at it, I was just hoping that maybe you could shed some light on these. I added the label "Event Details" statically in the theme and removed the categories section until the bugs are worked out. Even not fully functioning for me it is good enough for what I need. Getting Google Map functionality and Categories would be the icing on the cake. It is almost exactly what I was looking for in an Events Calendar THANK YOU! Your efforts are greatly appreciated!
              • 9757
              • 82 Posts
              I have the same errors as samba.

              I’m afraid that "24 hour display (mgr)" option still not working as expected. OK it works now for add/edit events, so there are proper dropdown boxes, but in the Events tab we still got time displayed in am/pm format.

              Is there any chance to change lang files format to the standard one? I’m talking about the same format like in MODx itself. It will be more convenient for translation - there are tools like ’phpLangEditor’ add-on for Firefox which is really helpful. I think about something like that:
              $_lang["btn_update"] = 'Update';
              

              rather than:
              define('_mxCalendar_btn_update','Update');
              
                • 34084 ☆ A M B ☆
                • 756 Posts
                Quote from: bonds73 at Jun 11, 2010, 12:26 PM

                I’m having a couple of issues that I think have to do with the event.detail.html

                VERY happy so far with this, this is exactly what I’ve been looking for. I’m no php expert (but I’m learning bit by reading and learning to "playing" in Modx) I noticed that the link back to calendar isn’t working for me [+mxcEventDetailBackToCal+]

                The Time and Location placeholders are appearing fine in the Event however I have no Title [+mxcEventDetailTitle+] displaying or as it appears is known the Google Maps [+mxcEventDetailGoogleMap+]

                And my Categories don’t seem to work. I’ve tweeked and played and got the Template themed how I want it, even if I could just get the label Event Title to appear in the Event Details page I’d be clicking my heels.

                I’ll keep plugging away at it, I was just hoping that maybe you could shed some light on these. I added the label "Event Details" statically in the theme and removed the categories section until the bugs are worked out. Even not fully functioning for me it is good enough for what I need. Getting Google Map functionality and Categories would be the icing on the cake. It is almost exactly what I was looking for in an Events Calendar THANK YOU! Your efforts are greatly appreciated!

                what method did you use to alter your theme; chunks or a new theme? can you place your calendar snippet call here as well?

                as you guessed there are lots of variables so we just need to narrow it down

                ~cheers
                  Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                  Visit CharlesMx.com for latest news and status updates.
                  • 34084 ☆ A M B ☆
                  • 756 Posts
                  Quote from: fixedmachine at Jun 11, 2010, 04:53 PM

                  I have the same errors as samba.

                  I’m afraid that "24 hour display (mgr)" option still not working as expected. OK it works now for add/edit events, so there are proper dropdown boxes, but in the Events tab we still got time displayed in am/pm format.

                  Is there any chance to change lang files format to the standard one? I’m talking about the same format like in MODx itself. It will be more convenient for translation - there are tools like ’phpLangEditor’ add-on for Firefox which is really helpful. I think about something like that:
                  $_lang["btn_update"] = 'Update';
                  

                  rather than:
                  define('_mxCalendar_btn_update','Update');
                  


                  the 24 hours manager config was built to ease the event entry and the display in the listing is formatted to the assigned Event List Display Options > Start TimeStamp and End TimeStamp format as used by PHP strftime. The thought being to provide admin an actual datetime out put format that the end user will see.

                  As to the language information, the support for the language support was to consolidate all mxCalendar language options into a single file. I’m looking to move the language options into the database and do away with the external language file, this would then allow language administration via the manager backend and no manual file updates.

                  ~cheers
                    Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                    Visit CharlesMx.com for latest news and status updates.
                    • 9757
                    • 82 Posts
                    Quote from: charless at Jun 12, 2010, 11:17 AM

                    the 24 hours manager config was built to ease the event entry and the display in the listing is formatted to the assigned Event List Display Options > Start TimeStamp and End TimeStamp format as used by PHP strftime. The thought being to provide admin an actual datetime out put format that the end user will see.

                    OK. I know about that setting, but I’m talking about event list in the events tab in mxCalendar module not the output "event list". I think that 24 hours (mgr) setting should be used everywhere inside manager so that it’s consistent. If one wants to use 24h format one wants to use it everywhere not only in add/edit tab smiley

                    BTW. I think that we need parameter for output, not a global setting for time format. If we’re creating multilingual site in one language we could use 24h format and in other am/pm. Now, without hacking the code it’s impossible right?

                    Quote from: charless at Jun 12, 2010, 11:17 AM

                    I’m looking to move the language options into the database and do away with the external language file, this would then allow language administration via the manager backend and no manual file updates.

                    I don’t think it’s a good idea. In MODx Revo they want to do that and, thanks god, they return to the language files. It’s absolutely inconvenient method for adding new languages, translating etc. And db usage is slower and need more resources. Beware. Please.
                      • 34084 ☆ A M B ☆
                      • 756 Posts
                      Quote from: fixedmachine at Jun 12, 2010, 01:35 PM

                      OK. I know about that setting, but I’m talking about event list in the events tab in mxCalendar module not the output "event list". I think that 24 hours (mgr) setting should be used everywhere inside manager so that it’s consistent. If one wants to use 24h format one wants to use it everywhere not only in add/edit tab smiley

                      BTW. I think that we need parameter for output, not a global setting for time format. If we’re creating multilingual site in one language we could use 24h format and in other am/pm. Now, without hacking the code it’s impossible right?
                      @fixedmachine - I see validity in both request and will taken them under strong consideration for the next release.
                        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                        Visit CharlesMx.com for latest news and status updates.