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
    @sjmclean

    you question about altering the WHERE clause will not work properly as it will impact other aspects of the calendar results, that select statement is a shared one across many functions throughout the calendar.

    However, my previous offer still stands and would put it on the list of enhancements for the next release. If you can’t wait until the next release, aprox 1 week, then please let me know.

    cheers
      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
      Visit CharlesMx.com for latest news and status updates.
      • 27444 ☆ A M B ☆
      • 117 Posts
      Hey Charless

      Thanks for the reply!

      I am only displaying the calendar part and don’t need the rest of the functions in my site.

      You’re right about the SQL. Actually I came up with another solution which is more feasible:

      SQL to get all events

      $datetoday = today’s date;

      Get All results

      If SQL result = $datetoday
      {
      Display default chunk for days with event;
      }

      Elseif SQL result != $datetoday
      {
      Display different chunk;
      }

      Else
      {
      Display default chunk for days without event
      }

      Your new release is for Evo version right?
        Steven James McLean
        Tech Lead
        springbokagency.com
        • 29756
        • 10 Posts
        @charless - is there a way in the current release (0.0.7-rc4) to change the style for the current day (class=’today’) in list view? It works great calendar view, but I wasn’t sure if I was missing something in the list view template. I basically just want to change the background color of the box the holds the month name.

        If not, can you point me to some code that would do the trick?

        Thanks!
          • 34084 ☆ A M B ☆
          • 756 Posts
          Quote from: Theost at Oct 18, 2010, 09:47 AM

          @charless - is there a way in the current release (0.0.7-rc4) to change the style for the current day (class=’today’) in list view? It works great calendar view, but I wasn’t sure if I was missing something in the list view template. I basically just want to change the background color of the box the holds the month name.

          If not, can you point me to some code that would do the trick?

          Thanks!


          that’s not a problem, I’ll add it in.

          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
            @sjmclean

            here is an example of the enhancement, with my drastic coloring smiley

            this exposes two new configuration/parameters to change to this view.

            cheers
              Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
              Visit CharlesMx.com for latest news and status updates.
              • 27444 ☆ A M B ☆
              • 117 Posts
              Quote from: charless at Oct 18, 2010, 09:53 PM

              @sjmclean

              here is an example of the enhancement, with my drastic coloring smiley

              this exposes two new configuration/parameters to change to this view.

              cheers

              Where the event is showing because yesterday was the 18th ... and today it’s not showing. And the rest of the dates which have an event are highlighted.

              Excellent grin !
                Steven James McLean
                Tech Lead
                springbokagency.com
                • 32052
                • 38 Posts
                Hello,

                I got this error when I run snippet. Probably because of a blank page when I try to run the module
                after the installation. Did anyone had a BLANK return page when they try to run the mxcalendar module?
                BTW, I’m using Evo 1.0.4.


                « MODx Parse Error »
                
                MODx encountered the following error while attempting to parse the requested resource:
                « Execution of a query to the database failed - Table 'atmodx.modx_' doesn't exist »
                      SQL: SELECT *,E.id as eid, E.category as catID, C.name as category, C.foregroundcss, C.backgroundcss, C.inlinecss, (SELECT DATEDIFF(E.enddate, E.startdate)) as DurationDays, (SELECT TIMEDIFF(E.endtime, E.starttime)) as DurationTime, `repeat` FROM `atmodx`.`modx_` as E LEFT JOIN `atmodx`.`modx_` as C ON E.category = C.id WHERE ((startdate >= '2010-10-1' and enddate < ADDDATE('2010-10-1', INTERVAL 1 MONTH)) or `repeat` REGEXP '[[:alnum:]]+' )	 and E.active=1 and C.active = 1 ORDER BY start 
                


                  • 34084 ☆ A M B ☆
                  • 756 Posts
                  check your /assets/modules/mxCalendar/config/ folder and delete the config.xml file and then log into the Manager and run the mxCalendar manager (Modules > mxCalendar) which should rerun the install and update scripts.

                  cheers
                    Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                    Visit CharlesMx.com for latest news and status updates.
                    • 32052
                    • 38 Posts
                    Quote from: charless at Oct 19, 2010, 09:49 AM

                    check your /assets/modules/mxCalendar/config/ folder and delete the config.xml file and then log into the Manager and run the mxCalendar manager (Modules > mxCalendar) which should rerun the install and update scripts.

                    cheers

                    Hi,

                    I’ve checked the config folder but there are no files stored in that folder. I tried to rerun the module with no luck.
                    Any ideas?

                    cheers!

                      • 32052
                      • 38 Posts
                      Hi,

                      I think I’m seeing my problem here. Have anyone one of you installed modx on a godaddy hosted server and install mxCalendar?
                      I’ve tried the module in my local and it was working fine. But when it is on the remote site (godaddy) it was getting error
                      specially when you run the module it just give you a blank page which mean the installation did not took place.

                      Does anyone here know how to solve such installation issue for my case?

                      Thank you.


                      Quote from: weaknsick at Oct 19, 2010, 10:21 AM


                      check your /assets/modules/mxCalendar/config/ folder and delete the config.xml file and then log into the Manager and run the mxCalendar manager (Modules > mxCalendar) which should rerun the install and update scripts.

                      cheers


                      Hi,

                      I’ve checked the config folder but there are no files stored in that folder. I tried to rerun the module with no luck.
                      Any ideas?

                      cheers!