10376 Posts in 2191 Topics by 1708 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1094 Views |
-
Event Calendar date format

23 June 2011 at 12:23pm
I've been trying to search where to edit the date format in Event Calendar (if there's like JUL. 12 - 14, 2011 in upcoming events and I'd like it to be 12. - 14.7.2011). Maybe I'm just too tierd and need some sleep, too many hours working with the computer, 'cause cant find the right file to modify. But it would be great if someone could give me a hint, where to find the place to change the code, or where to find some tutorial for this module.
-
Re: Event Calendar date format

23 June 2011 at 4:08pm
You need to add a $customDateTemplates array to your mysite/_config. See event_calendar/_config.php. I think there's a commented example in there you can copy and paste.
-
Re: Event Calendar date format

23 June 2011 at 9:06pm
Ok, thanks a lot, now I got it
I'm also wondering how to get the language changed. When I'm adding new lang php file and date js file with the translated months and days, but I'm seem missing something when it still shows the original names. -
Re: Event Calendar date format

23 June 2011 at 10:01pm
I have the same problem, the dropdown buttons under the calendar show the english names of month. Where can I edit this? Can I set it somehow to lang.php file?
-
Re: Event Calendar date format

24 June 2011 at 8:03am
Ok, now also some other of my translated text changed back to English.. I tested to set some other locales what I found in some other topic, like
i18n::set_locale('de_DE');
i18n::include_locale_file('event_calendar', 'de_DE');
setlocale(LC_ALL, 'de_DE');
setlocale(LC_TIME,"de_DE.UTF-8");to my config file. And when changing them back to what I had, I have e.g. the search button in site search with the English text "Go" though I have the language file with the translated text. I suppose this is a very basic thing that I just don't get..
-
Re: Event Calendar date format

24 June 2011 at 8:19pm Last edited: 24 June 2011 8:22pm
In witch config file you change it? In mysite/config only, or in other config file in modules?
I rewrite also .js file with months and days, but it still in english. Maybe it's in some file, witch is only in english and we must creat the same in our lang. Czech or German.
| 1094 Views | ||
|
Page:
1
|
Go to Top |


