We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34084 ☆ A M B ☆
    • 756 Posts
    New version is ready for download from the extras http://modx.com/extras/package/mxcalendar.

    Note that the new custom fields is extremely flexible and I’ll be posted some sample uses for custom fields and the like in the coming days.

    Read the release notes as several new parameters and placeholders are now available as well.

    Cheers
      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
      Visit CharlesMx.com for latest news and status updates.
      • 9550
      • 123 Posts
      Custom fields!!!! that’s amazing... ... damn I just built my site with revo sad
        • 34084 ☆ A M B ☆
        • 756 Posts
        Quote from: featherodd at Apr 06, 2011, 12:18 AM

        Custom fields!!!! that’s amazing... ... damn I just built my site with revo sad

        Yes, and I think it will be heavily used once it’s potential is realized as it can also pull in template variables from page resources as well smiley

        I do have some general UI updates to make for easier use in the near future. Also don’t fret as the Revo version is getting closer.

        Cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.
          • 9550
          • 123 Posts
          Dude, this is really impressive. Had no idea you were planing on adding custom fields. Can’t wait to test this out later instead of sleeping smiley

          If a revo version coming I might just try implementing it on my revo site by installing evo alongside just for a calendar section 8D

          Again, so awesome. Huge props.
            • 9550
            • 123 Posts
            Hmm, i’m having the same issue as with the last version. When I run the mxcalendar module (with code from mxCalendar.snippet.txt) I get a blank screen in the business area of the manager and the following error logged to System Events:

             Error
            Event Id:	1	Source:	mxcalendar - Module
            Date:	06-04-2011 00:44:40	User:	admin
            syntax error, unexpected '<' 


            php_error.log also shows the following error
            [06-Apr-2011 00:56:00] PHP Parse error:  syntax error, unexpected '<' in /Users/ojs/Sites/rawc2/calendar/manager/processors/execute_module.processor.php(114) : eval()'d code on line 1


            note: DocManager works just fine.

            UPDATE: I’m an idiot. I was copying the code from the wrong text file. Seriously, me = not smart. That was the problem here.
              • 34084 ☆ A M B ☆
              • 756 Posts
              Quote from: featherodd at Apr 06, 2011, 06:50 AM


              interesting... should I be manually creating db tables for mxCalendar before running it?

              Try removing the mxCalendar/config/config.xml file and rerunning the module from the manager, you might also check to see if any tables are present for mxCalendar {tableprefix}mxcalendar_{*}, if you see any drop those before running the module again.

              If you still have issues I’d be interested to take a look at your install closer if possible.

              Cheers
                Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                Visit CharlesMx.com for latest news and status updates.
                • 21671
                • 244 Posts
                Hi Charles,

                I just downloaded new version. Installation was a bit challanging. I manually ran sql statements that are listed inside the install folder, and had to change "#" for ";" at the end of a couple of lines and had to change the table names to reflect my table names.

                Cool so far after I figured that out.

                -Noah
                  • 21671
                  • 244 Posts
                  0.12 rc2 issue--

                  In list view, how do I only show events that are in future. Or how do i not show events that have already occurred in the list view.

                  You can see the relevant list at http://www.nantuckettriathlonclub.org.

                  If it doesn’t exist, I put this in as a feature request. This is important especially when there are recurring events setuo with some instances that have already occurred.

                  -Noah
                    • 34084 ☆ A M B ☆
                    • 756 Posts
                    Quote from: noahlearner at Apr 06, 2011, 01:04 PM

                    Hi Charles,

                    I just downloaded new version. Installation was a bit challanging. I manually ran sql statements that are listed inside the install folder, and had to change "#" for ";" at the end of a couple of lines and had to change the table names to reflect my table names.

                    Cool so far after I figured that out.

                    -Noah

                    can you provide any detail on the issue of the challenges in terms of errors etc... ??
                      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                      Visit CharlesMx.com for latest news and status updates.
                      • 21671
                      • 244 Posts
                      The first error was that (a paraphrase sorry I didn’t copy verbatim) it couldn’t find config.xml so I just deleted the config.xml that was preexisting.

                      Then I tried to edit an event and it said that the rows that get updtae in the following sql install weren’t present. So I went looking in your files and found the sql files:

                      I changed
                      --
                      -- Database updates for release 0.1.3b
                      --
                      INSERT IGNORE INTO `#__mxcalendar_config`(id,param,value)
                      VALUES 
                      (55,'mxcCustomFieldTypes',''),
                      (56,'mxcEventDetailStateDateStamp','%b %e'),
                      (57,'mxcEventDetailStateTimeStamp','%I:%M %p'),
                      (58,'mxcEventDetailEndDateStamp','%b %e'),
                      (59,'mxcEventDetailEndTimeStamp','%I:%M %p'),
                      (60,'mxcEventMonthUrlClass','tt mxModal'),
                      (61,'mxcEventMonthUrlStyle','color:inherit;display:block;position:relative;padding:3px;'),
                      (62,'mxcMonthNoEventClass','mxcDayNoEvents')##
                      ALTER TABLE `#__mxcalendar_config` CHANGE `value` `value` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ##
                      ALTER TABLE `#__mxcalendar_events` ADD `customFields` TEXT NOT NULL##


                      To:

                      --
                      -- Database updates for release 0.1.3b
                      --
                      INSERT IGNORE INTO `yourtablenameprefix_mxcalendar_config`(id,param,value)
                      VALUES 
                      (55,'mxcCustomFieldTypes',''),
                      (56,'mxcEventDetailStateDateStamp',''),
                      (57,'mxcEventDetailStateTimeStamp',''),
                      (58,'mxcEventDetailEndDateStamp',''),
                      (59,'mxcEventDetailEndTimeStamp',''); 
                      -- ALTER TABLE `yourtablenameprefix_mxcalendar_config` CHANGE `value` `value` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ;
                      -- ALTER TABLE `yourtablenameprefix_mxcalendar_events` ADD `customFields` TEXT NOT NULL; 
                      
                      


                      You’ll notice that I added semicolons to the last three lines and hardrdcoded in my tableprefix name in three places...

                      I hope this helps.

                      -Noah