We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13271
    • 16 Posts
    Hello, it’s Chris.

    Thanks for this calendar (exactly what i’m looking for smiley

    I need to use the v 0.5 because of my serveur (4.x.x), it works but i have a problem with setlocale.

    I want to display the calendar in french language, i tried a lot of different parameters ’fr_FR.ISO_8859-1’, ’fr_FR.UFT8’ , ’fr_FR’,’fr’,’fr’,’fra’,’fr_FR@euro’ but always in english on page displayed... :’(

    If somebody can help me please ! and had a solution to propose to me for set locale in french, that would be very sympathetic.

    Thanks a lot !!

    Chris.
      • 13271
      • 16 Posts
      Hello,

      Little up for this calendar translation...

      Thanks a lot ! wink

      Chris.
        • 6778
        • 20 Posts
        Quote from: ixtenso at Apr 11, 2008, 03:25 PM

        Hello, it’s Chris.

        Thanks for this calendar (exactly what i’m looking for smiley

        I need to use the v 0.5 because of my serveur (4.x.x), it works but i have a problem with setlocale.

        I want to display the calendar in french language, i tried a lot of different parameters ’fr_FR.ISO_8859-1’, ’fr_FR.UFT8’ , ’fr_FR’,’fr’,’fr’,’fra’,’fr_FR@euro’ but always in english on page displayed... :’(

        If somebody can help me please ! and had a solution to propose to me for set locale in french, that would be very sympathetic.

        Thanks a lot !!

        Chris.

        Hello,

        it work’s with PHP5 and on my server wink But this doesn’t helps you, I know.
        - please check the spelling of the snippet parameter -> Locale
        - try to replace LC_TIME with LC_ALL in the snippet include file eventcalendar.inc.php (3 times in function PrintSingleMonth)
        - check if the french locale is installed on your server (maybe ask your provider)
        - sometimes I had problems with linebreaks inside the snippet call (to check this use the "pure" html editor in the manager an disable the automatic linebreaks)

        daniel
          • 13271
          • 16 Posts
          Hello Daniel wink, thanks for your answer !

          For the moment a php5 upgrade is not planned a sad there are other sites on this server and with the last change of php version much of scripts stopped functioning.

          I already tried to modify LC TIME by LC ALL, but it doesn’t works embarrassed. - The spelling of snippet param is OK

          I will ask my provider il the french locale is installed (i hope, the server is in France...).

          I going to try with pure html editor.


          Thanks a lot for your help. I will tell you if it works.

          Big regards.

          Chris.
            • 12584
            • 208 Posts
            Sure I am overlooking the obvious but how do you add events, have the thing working adjusted the css and snippet call to suit but wheres the admin section to add stuff, in the documentation I cant see anything that tells it where the parent page is like &pageId=`65` or something. Cna anyone help me on this.

            Cheers
              • 12584
              • 208 Posts
              ok I am making progress with this now worked out there is no admin it’s all done from the chunk.

              What I now cant work out is the following chunk call does give me a link from the calendar day

              2008-05-02#http://mysite.co.uk/#index.php?id=48


              Problem is the page id does not get picked up and it only loads the homepage, I have tried everything to get this to work from a call in the chunk but no luck.

              Does anyone have any ideas pleassse
                • 6778
                • 20 Posts
                Hello,

                try this one:
                2008-05-02#48#some text
                  • 7806
                  • 45 Posts
                  Hi!

                  I noticed that one might run into problems when using e.g. UTF-8 as default charset. In my cast the umlauts in month name were not displayed correctly (take the german word März for example).

                  I fixed it in my snippet code by using iconv(). Maybe the author of the snippet might fix it in the "official" version?

                  Line 426 in Version 0.6:

                  print ’<caption class="month_title">’.ucfirst(iconv(’iso-8859-1’, ’utf-8’, strftime(’%B’,strtotime($Month.’/1/2006’)))).’&nbsp;’.$Year.’</caption>’."\n";

                  Would be great to have a parameter for the needed charset.

                  Thanks for the great snippet!
                  Jörg
                    • 20743
                    • 3 Posts
                    http://clubcestlavie.com/index.php?id=48

                    For this events Calendar I am having an issue

                    on the right side of the calendar it prints 31,32,33,34,35,36 Does anyone know how to remove this?
                      • 20743
                      • 3 Posts
                      Anybody out there that can help?