We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10018
    • 4 Posts
    Quote from: charless at Jul 26, 2010, 10:43 PM

    Quote from: fra at Jul 23, 2010, 09:15 AM

    Hi Charles!

    Im getting this: Parse error: syntax error, unexpected ’)’ in /home/www/pavouk-records.cz/subdomeny/www/assets/modules/mxCalendar/mxCalendar.class.php on line 1184

    (snippet and module code are 0.0.6-rc2)

    Previous version of calendar on this site was 0.0.6 and worked fine.

    Thank you for this calendar!

    Frantisek Sevcik

    P.S.: I’ll send Czech language file to you.

    are you stilling having issues with this?


    Successfully installed 0.0.6-rc3 (with manual mysql update from 0.0.6-rc2.upgrade.mysql file)
    But now I have same issue as rosp posted ...

    Frantisek

      • 34084 ☆ A M B ☆
      • 756 Posts
      @fra - What was the previous version of mxCalendar you were on prior to rc3?

      cheers
        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
        Visit CharlesMx.com for latest news and status updates.
        • 10018
        • 4 Posts
        mxCalendar 0.0.6
          • 34084 ☆ A M B ☆
          • 756 Posts
          Quote from: fra at Jul 29, 2010, 01:44 AM

          mxCalendar 0.0.6
          ok, then it’s probably do to the upgrade scripts that did not run between versions.

          I sent you a PM.

          cheers
            Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
            Visit CharlesMx.com for latest news and status updates.
            • 25546
            • 6 Posts
            hi charless, will your solution for fra help me as well? went up from rc2 to rc3.
              • 34084 ☆ A M B ☆
              • 756 Posts
              DISREGARD -- the note to run the update script.

              Please use this new class file in the post below, sorry for the bad information.

              Cheers

              Quote from: rosp at Jul 29, 2010, 06:07 PM

              hi charless, will your solution for fra help me as well? went up from rc2 to rc3.



              It’s worth a try, but I have not heard back if the one for fra worked yet so here is the same script for you to try as well. Make sure you make the change ’#_’ to match your tables prefix and please let me know if that fixes the issue.

              --
              -- MANUAL database updates for release 0.0.6 to 0.0.6-rc3
              -- NOTE: Change '#_' to match your tables prefix
              --
              ALTER IGNORE TABLE `#__mxcalendar_config` ADD UNIQUE `idxParam` ( `param` ( 64 ) ) ;
              INSERT IGNORE INTO `#__mxcalendar_config`(id,param,value)
              VALUES
              (34,'mxcEventListLabelLocation',''),
              (35,'mxcGoogleMapDisplayCanvasID','map_canvas'),
              (36,'mxcGoogleMapDisplayWidth','250px'),
              (37,'mxcGoogleMapDisplayHeigh','225px'),
              (38,'mxcGoogleMapDisplayLngLat','0'),
              (39,'mxcLocalization',''),
              (40,'mxcGetCategoryListUIFilterLabel','Categories'),
              (41,'mxcGetCategoryListUIFilterLabelTag','H3'),
              (42,'mxcGetCategoryListUIFilterLabelTagClass','mxcCategoryHeading'),
              (43,'mxcGetCategoryListUIFilterType','list'),
              (44,'mxcEventListItemMultiDayStyle','font-size:70%'),
              (45,'mxcGetCategoryListUIFilterActive','1'),
              (46,'mxcEventListItemStateDateStamp','%I:%M %p'),
              (47,'mxcEventListItemEndDateStamp','%I:%M %p'),
              (48,'mxcAdvancedDateEntry','0'),
              (49,'mxcEventListLabelLocation','');
              UPDATE `#__mxcalendar_config` SET param=REPLACE(param, 'Calendear', 'Calendar') WHERE param REGEXP('Calendear');
              
              ALTER IGNORE TABLE `#__mxcalendar_categories` ADD `disable` INT NOT NULL DEFAULT '0' AFTER `inlinecss`;
              



              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
                @rosp @fram and all other RC3 users

                Quote from: fra at Jul 29, 2010, 01:44 AM

                mxCalendar 0.0.6
                Quote from: rosp at Jul 29, 2010, 06:07 PM

                hi charless, will your solution for fra help me as well? went up from rc2 to rc3.

                Please download this updated class file to fix the issue with the repeat date format.

                Cheers
                  Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                  Visit CharlesMx.com for latest news and status updates.
                  • 25546
                  • 6 Posts
                  great Charless, it seems to work.

                  is there a way to switch the on ’24 hour display’ in the calendar event detail view?

                  with the sql update: you can leave the (49,’mxcEventListLabelLocation’,’’), it is already happening in (34,’mxcEventListLabelLocation’,’’)

                  is it possible to extend the language file to cover all of the mxcalendar’s front end? (ie. ’Categories’)

                  thanks
                    • 34084 ☆ A M B ☆
                    • 756 Posts
                    Quote from: rosp at Jul 30, 2010, 02:37 AM

                    great Charless, it seems to work.

                    is there a way to switch the on ’24 hour display’ in the calendar event detail view?

                    with the sql update: you can leave the (49,’mxcEventListLabelLocation’,’’), it is already happening in (34,’mxcEventListLabelLocation’,’’)

                    is it possible to extend the language file to cover all of the mxcalendar’s front end? (ie. ’Categories’)

                    thanks

                    To change to 24 hour format on the event detail view you can pass the following parameters in the snippet call

                     &mxcStartDateFormat=`%b %d %H:%M%p` &mxcEndDateFormat=`%b %d %H:%M%p` 


                    For the question of language file to cover front end ’Categories’ the heading is set in the configuration tab on the right column first section "Cateogory List Options", if it is something else please provide me more specifics.

                    Cheers
                      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                      Visit CharlesMx.com for latest news and status updates.
                      • 25546
                      • 6 Posts
                      All set!

                      thanks charless