We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21671
    • 244 Posts
    oh Gasp, I just became that guy. Sorry Charles. I had it misconfigured. Please accept my apologies.

    -Noah
      • 21671
      • 244 Posts
      Can you make all dates that will be output to be customizable. Ie- I want the date to output 03/15 I found where it is in the class file.

      By changing line 1323 from
      $event['month']=utf8_encode(strftime('%b',strtotime($event['start'])));

      to
      $event['month']=utf8_encode(strftime('%m',strtotime($event['start'])));


      I was able to do it, but It would be supercool if it was a config option inside module so others don’t have to pore Many lines of code.

      To be more specific. I’d like config for date options output to end user anywhere in both calendar and list views. Desired options would be month, day , year, Hours, minutes

      Many Thanks,

      Noah

        • 34084 ☆ A M B ☆
        • 756 Posts
        yes, that certainly can be added quickly to extend the date capabilities. I’ll put that in the this release to come out in the next day o two depending on testing.

        cheers
          Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
          Visit CharlesMx.com for latest news and status updates.
          • 21671
          • 244 Posts
          Another feature request is to apply class of "alt" or "even and "odd" to the event listings so that they be styled. I suppose I could use jQuery, but it would be cool if that was possible too.

          -Noah
            • 34084 ☆ A M B ☆
            • 756 Posts
            Quote from: noahlearner at Mar 02, 2011, 01:03 PM

            Another feature request is to apply class of "alt" or "even and "odd" to the event listings so that they be styled. I suppose I could use jQuery, but it would be cool if that was possible too.

            -Noah

            Ok, note that a new configuration item is also to add class name to dates that do not have events associated to them. I can add some additional configuration items to support the even/odd class, so I’ll put that in as well.

            cheers
              Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
              Visit CharlesMx.com for latest news and status updates.
              • 21671
              • 244 Posts
              Cool! It is easy to do with jQuery too. I’m now trying to switch modal box over to jQuery colorbox. Where in code should I look for that? I found where it registers the script, and the css, but I don’t see how to get it to work. What lines of code are impacted by a switch over to jquery Colorbox?

              Many Thanks,
              Noah
                • 21671
                • 244 Posts
                After much flailing, I got mxCalendar to work with colorbox, and got the google map too! woo hoo!

                example at http://74.54.57.240/~acktri/home.html

                You’ll also notice that I customized the date output and the overall css of the list. IE, you can too!

                I made a series of changes to the mxcalendar class

                I also loaded jquery and colorbox to page and I also used a bit of jquery too

                <script type="text/javascript" language="javascript">
                
                jQuery(function ($) {
                        $('div.event:even').css("background-color", '#E2F4FD'); //to add even row styling
                        $("a[rel='colorbox']").colorbox({iframe:true,innerWidth:'500px', innerHeight:'90%'}); //loads content of ajax processor page
                });
                </script>
                .

                I hope this helps someone.

                I recommend you look at the linked page’s source code in order to see how it was put together.

                I am attaching the modified mxCalendar.class file, but had to rename it so that it would upload.
                  • 34084 ☆ A M B ☆
                  • 756 Posts
                  Looks good and thanks for giving back to the community, I also know at least a hand full if not more that are also using mxCalendar with jQuery vs. MooTools. There is a roadmap item to allow easy switching between various JS libraries like MooTools and jQuery in the future.

                  The main thing to note is that the default theme is a starting point to customize and I’d recommend making a custom theme when tweaking so that future releases do not overwrite all your valuable time and effort. I’ll be posting examples, tutorials, and videos to soon to highlight and explain some of the features and uses of mxCalendar.

                  Again thanks to everyone.

                  cheers
                    Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                    Visit CharlesMx.com for latest news and status updates.
                    • 12013
                    • 61 Posts
                    Thanks for your previous help with MX calendar, I have recently updated the version of MXcalendar and I was wanting to check the issues you found on my setup had been fixed in the latest version?

                    I seem to be having events that are now no longer showing in the full view. They are still an event in the module itself? do you still have the details or do you require me to provide them again. I am also having trouble trying to set the list view to display one day, this is due to my limited knowledge, I did see a post on this earlier but it was lost on me. I will try reading up on it more.

                    help is most most appreciated

                    regards

                    Hendo
                      • 34084 ☆ A M B ☆
                      • 756 Posts
                      Quote from: hendo at Mar 03, 2011, 08:04 AM

                      Thanks for your previous help with MX calendar, I have recently updated the version of MXcalendar and I was wanting to check the issues you found on my setup had been fixed in the latest version?

                      I seem to be having events that are now no longer showing in the full view. They are still an event in the module itself? do you still have the details or do you require me to provide them again. I am also having trouble trying to set the list view to display one day, this is due to my limited knowledge, I did see a post on this earlier but it was lost on me. I will try reading up on it more.

                      help is most most appreciated

                      regards

                      Hendo

                      The repeat date issue is fixed in the next release, and I’m currently working on expanding some of the parameters and making changes to better support the switch between jQuery and MooTools. Once those are completed I’ll package it up which should be in the next couple of day barring any further enhancements and bug reports.

                      cheers
                        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                        Visit CharlesMx.com for latest news and status updates.