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
    Quote from: TomMLS at Apr 18, 2010, 02:15 PM

    In the 0.4 release, the year is not included with the month in the month display.
    Could the year please be included with the month??
    I believe this is commonly done in other calendar apps.
    Thank you, Tom

    yes, it’s part of release 0.0.5b - thanks tom
      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: Plankton at Apr 18, 2010, 03:04 PM

      Link
      Looks that it does not work with Link as you described. I’ve tried to set either ’8’ (integer doc id) or ’http://google.com’ but got URLs like http://site.com/calendar.html?details=4 under event titles. So I’m still don’t understand how to use this. Could you please provide some example?


      Comment: It starts working with doc id somehow if I change string 686 in mxCalendar.class.php
      from:
      $title=$event[’title’];
      to:
      $title=’<a href="[~’.$event[’link’].’~]">’.$event[’title’].’</a>’;


      Multi-Categories
      Thank you for taking my case into consideration in future releases. And what about the new version (0.0.5 - ?)? When we can expect it published?

      sorry for the confusion, that was working on previous version properly; however here is updated code to replace lines 684 - 687
      			    if($param['fullCalendarPgId'] && empty($event['link']))
      				$title='<a href="'.$modx->makeUrl((int)$param['fullCalendarPgId'],'','details='.$event['eid']).'">'.$event['title'].'</a>';
      			    else
      				$title = ( !empty($event['link'])?(is_numeric($event['link'])?$modx->makeUrl((int)$event['link']).' <> ':'<a href="'.$event['link'].'" rel="'.$event['linkrel'].'" target="'.$event['linktarget'].'">'.$event['title'].'</a>'): $event['title'] );
      
      



      Version 0.0.5b will be release any day now as I’m still working out some enhancements and cleaning up code. I’ll post it to this thread once it posted.

      let me know if you have any issues with this update.

      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
        Status Update:

        I’m finishing up some documentation and then the last piece is updating the database upgrade script.



        Cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.
          • 30319
          • 406 Posts
          I’m installing clean, I’m thankful not to need the upgrade script.
          Thank you for putting it in though. Looking forward to using this!!
          Thank you, Tom
            • 34084 ☆ A M B ☆
            • 756 Posts
            RELEASE 0.0.5b is now ready (clean install only)

            I’m wrapping up some documentation, but those that want to jump right into it now you can.
            http://mxcalendar.googlecode.com/files/Modx_mxCalendar.0.0.5b.zip

            Documentation:
            http://code.google.com/p/mxcalendar/w/list

            I’ll be working on the upgrade script for those that can’t afford to loose the event data.

            Note: Please remove your current mxCalendar folder from /assets/modules and remove the four {pre}_mxcalendar tables.

            Enjoy the new theme ability and added features, many more to come in later releases. I’ll be updating the road-map shortly as well.

            ~cheers
              Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
              Visit CharlesMx.com for latest news and status updates.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Ooooh! New toys! grin
                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
                • 16702 ☆ A M B ☆
                • 536 Posts
                Quote from: charless at Apr 20, 2010, 12:08 AM

                RELEASE 0.0.5b is now ready (clean install only)

                I’m wrapping up some documentation, but those that want to jump right into it now you can.
                http://mxcalendar.googlecode.com/files/Modx_mxCalendar.0.0.5b.zip

                Documentation:
                http://code.google.com/p/mxcalendar/w/list

                I’ll be working on the upgrade script for those that can’t afford to loose the event data.

                Note: Please remove your current mxCalendar folder from /assets/modules and remove the four {pre}_mxcalendar tables.

                Enjoy the new theme ability and added features, many more to come in later releases. I’ll be updating the road-map shortly as well.

                ~cheers

                Installation::Manager

                Download the Modx_mxCalendar.zip file
                Unzip folder to your favorite place
                Upload mxCalendar folder to your sites root /assets/modules/ folder
                Copy contents of "snippets/mxCalendar.module.txt" file from the unzipped folder
                Log into your Manager interface and goto the Modules > Manage Modules section
                Select the New Module button
                In the Module name field place mxcalendar
                Past the content of "snippets/mxCalendar.module.txt" into the Module code (php) section
                Select Save
                Click the gear icon next to the new entry "mxcalendar" and select Run Module
                You should see a screen saying the installation was successful, so click the Start button
                Now you are in the new manager
                note: you need to select another menu tab or log-out and back in to view the new Menu item under the tabs for Modules, which should be labeled "mxcalendar".

                after that i have blank/white screen.

                modx ver. 1.0.3
                PHP Version 5.1.6
                mysql 5.0.77

                CLEAN install
                  palma non sine pulvere
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Parse error: syntax error, unexpected ’:’ in /home/sottwell/public_html/assets/modules/mxCalendar/mxCalendar.class.php on line 935

                  $modx->setPlaceholder('mxcEventDetailLabelDateTime',($this->config['mxcEventDetailLabelDateTime'] ?  : _mxCalendar_ed_dt));
                    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
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Since PHP 5.3, it is possible to leave out the middle part of the ternary operator. Expression expr1 ?: expr3 returns expr1 if expr1 evaluates to TRUE, and expr3 otherwise.
                    Handy, but not really practical to use it yet.
                      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
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      Now it’s giving me grief over the tables. It’s generating two errors, the first reports that it can’t create the tables, the second immediately following reports a duplicate entry error because it’s trying to load the data again. The tables are created and populated just fine to begin with.
                        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