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: sottwell at Apr 20, 2010, 02:39 AM

    How can I disable the setting of the javascript for Google Maps? This code does not seem to work correctly, as with no events in the database it is loading the javascript:
    if($p_val['location'] && $p_val['displayGoogleMap']){
        include_once($modx->config['base_path'].'assets/modules/mxCalendar/includes/google_geoloc.class.inc');
    

    Perhaps if any of the configuration fields for the Google Map API are empty it shouldn’t even get that far? Or is it being loaded by default from some other section of code?

    reviewing.... thanks
      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
      Visit CharlesMx.com for latest news and status updates.
      • 34084 ☆ A M B ☆
      • 756 Posts
      r0.0.5b - Theme style sheet: I’m going to update this as the current style sheet should be moved to the theme folder and use the theme configuration file to load the corresponding theme style sheet if part of the theme.

      there are also a few parameters that are set, but not on the configuration manager tab just yet for the calendar so I’ll get those added as well.


      I’ve post a quick updated mxCalendar.class.php http://mxcalendar.googlecode.com/files/mxCalendar.class.php file to fix the < PHP 5.3.x issues, so if your on PHP 5.2.x then you’ll want to grab that and replace the current one or download the package again http://mxcalendar.googlecode.com/files/Modx_mxCalendar.0.0.5b.zip.

      -- more updates to come shortly --

      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
        I’m on Google Talk @ charless.mxcalendar
          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: charless at Apr 20, 2010, 10:19 AM

          Quote from: sottwell at Apr 20, 2010, 02:39 AM

          How can I disable the setting of the javascript for Google Maps? This code does not seem to work correctly, as with no events in the database it is loading the javascript:
          if($p_val['location'] && $p_val['displayGoogleMap']){
              include_once($modx->config['base_path'].'assets/modules/mxCalendar/includes/google_geoloc.class.inc');
          

          Perhaps if any of the configuration fields for the Google Map API are empty it shouldn’t even get that far? Or is it being loaded by default from some other section of code?

          reviewing.... thanks

          @susan - the JS is now removed from the "calendar" view and only added on the detail view if the location is set to display the map.
            Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
            Visit CharlesMx.com for latest news and status updates.
            • 34084 ☆ A M B ☆
            • 756 Posts
            Quick update on the next release road-map:
            Road-Map

            * (0.0.6b) - Update to theme for included style sheet
            * (0.0.6b) - Category filtering by end users to select events by category
            * (0.0.6b) - ACL (access control layer) to display different events based on ModX webuser groups
            * (0.0.6b) - Add webuser group for event management
            * (0.0.6b) - Manager Add Event flag for quick all day event add
            * (0.0.6b) - Include additional language files (I need your help converting the lanuage file)
            * more to come

            ~cheers
              Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
              Visit CharlesMx.com for latest news and status updates.
              • 30319
              • 406 Posts
              Nice roadmap. smiley
              Methinks almost too fast for everyone. smiley
              Do you ever sleep or eat??
              What is your secret?? smiley smiley
              Please include your ’secret’ in the next release.
              Most of us will be happy with 0.5.5b with the above-mentioned bugfixes.
              Thank you, Tom
                • 34084 ☆ A M B ☆
                • 756 Posts
                Quote from: Kristalin at Apr 20, 2010, 12:34 AM

                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
                @Kristalin -
                did you log-out of the manager and back in? if not try that and then select the "mxcalendar" module from the menu tab; if that still doesn’t work can you verify that the tables were created on mysql?

                let me know what you get then
                  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
                  The category filtering and ACL will make this perfect for a staff shift scheduling application I’m working on!

                  Unfortunately I’m no help with translations since I’m an American English speaker; you know the old joke about what you call people who speak two, three, or more languages...
                    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
                    • 34084 ☆ A M B ☆
                    • 756 Posts
                    Quote from: TomMLS at Apr 20, 2010, 11:08 AM

                    Nice roadmap. smiley
                    Methinks almost too fast for everyone. smiley
                    Do you ever sleep or eat??
                    What is your secret?? smiley smiley
                    Please include your ’secret’ in the next release.
                    Most of us will be happy with 0.5.5b with the above-mentioned bugfixes.
                    Thank you, Tom

                    @tom - thanks, I hope that everyone enjoys it and want to make sure it’s functional... smiley secret is enthusiasm of modx, sorry it’s that simple

                    @all -
                    note: I’ll probably do a minor release to add change the style sheet for theme support, I had is on the list just got overlook I guess because I was too excited to get this one out. I’ll update this thread when that out there for those that are interest in created themes to be published with the module.

                    ~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
                      Careful, developing for MODx can be addictive 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