Posted on: 02/02/06 01:19pm
By: Senja
Could someone help me with the language in events . I want to delete the namn of the day , because I can`t get the norwegian languages for the day : like Tuesday 07/02/06 , I will just have 07/02/06 , and not the day . Is there any place I can edit ???
CALENDER , please HELP FAST
Posted on: 02/02/06 05:48pm
By: Mu Satach
the templates that the calendar use are in the layout folder
geeklog/public_html/layout/professional/calendar/
geeklog/public_html/layout/professional/calendar/dayview/
geeklog/public_html/layout/professional/calendar/weekview/
but after looking at the code, I don't know if that will fix the problem your talking about. It looks like the day & date are both apart of the same variable
{ currentday }
which is why your seeing Thursday, 02/02/06 instead of Torsdag, 02/02/06
CALENDER , please HELP FAST
Posted on: 02/02/06 08:54pm
By: Anonymous (annon)
does date settings in config.php have any effect ?
CALENDER , please HELP FAST
Posted on: 02/03/06 03:13am
By: Senja
Editing config.php , gives no effect on the calender
CALENDER , please HELP FAST
Posted on: 02/03/06 04:35am
By: eg0master
It works fine if you set the correct locale in config.php and have the norwegian locale installed on your webserver. Had similar problem with the swedish locale and had to install/compile a swedish locale in order to make it work.
CALENDER , please HELP FAST
Posted on: 02/03/06 01:19pm
By: Senja
I will try that.. My config.php is correct , with locale no_No , but I am not shure how to set my webserver to the norwegian locale ?
CALENDER , please HELP FAST
Posted on: 02/03/06 02:34pm
By: Dirk
[QUOTE BY= Senja] I will just have 07/02/06 , and not the day . Is there any place I can edit ???[/QUOTE]
The calendar (calendar_event.php, actually) uses $_CONF['shortdate'] which, by default = '%x'.
'%x' is the "preferred time representation for the current locale without the date". So this automatically includes the day. If you want something else, you'll have to piece it together from the list of those % placeholders, as listed
in the documentation[*1] or in the
PHP manual[*2] .
Something like $_CONF['shortdate'] = '%d/%m/%y';
bye, Dirk
CALENDER , please HELP FAST
Posted on: 02/03/06 04:16pm
By: Senja
Is there another place than config.php to set the :$_CONF['shortdate'], I have set it in this file , but it is not working
CALENDER , please HELP FAST
Posted on: 02/03/06 04:33pm
By: Dirk
Sorry, it's using 'shortday' only for all-day events. For events that have a start and end time, it's using the current user's preferred date format (which they can set in their preferences) or $_CONF['date'] (for anonymous users and for users who left the setting at "system default").
bye, Dirk
CALENDER , please HELP FAST
Posted on: 02/08/06 02:59am
By: eg0master
[QUOTE BY= Senja] I will try that.. My config.php is correct , with locale no_No , but I am not shure how to set my webserver to the norwegian locale ?[/QUOTE]
You do not need to set the webserver to the norwegian locale, it must only be available. If you're running a *nix webserver use 'locale -a' command to see all installed locales.
CALENDER , please HELP FAST
Posted on: 02/08/06 04:40pm
By: Senja
Is there no way to edit so I can get my norwegian days , not in english , like tuesday , I want Tirsdag .... Geeklog is a very good script and program , there must be a way to EDIT please
CALENDER , please HELP FAST
Posted on: 02/08/06 11:25pm
By: Mu Satach
Is your setting in the config.php file
$_CONF['locale'] = 'no_No';
or
$_CONF['locale'] = 'no_NO';
on my site, "no_No" does not work, but "no_NO" does.
if that doesn't work then you'll need to contact the server admin, or if you are the admin, do some digging on how to install the locale
CALENDER , please HELP FAST
Posted on: 02/09/06 01:01am
By: eg0master
Exactly, the locale string is case sensitive.