Author Topic: 1.4.Beta - Calendar option - Start Week on Monday.  (Read 7662 times)

rolfminder

  • Newbie
  • *
  • Posts: 14
    • View Profile
1.4.Beta - Calendar option - Start Week on Monday.
« on: April 23, 2009, 09:44:29 am »
great job...

where can I set the option or
in which table must I make data-entry?

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #1 on: April 23, 2009, 02:54:54 pm »
Hi,
In this beta, to enable this option you have to add the data manually to the tables.
This will be fixed to next release.

You have to modify the option "calendar panel" in table "og_user_ws_config_categories", set "is_system" = 0

And you also have to add to "og_user_ws_config_options" a record with this values:
category_name = 'calendar panel'
name = 'start_monday'
default_value = '0'
config_handler_class = 'BoolConfigHandler'
is_system = 0
option_order = 0
dev_comment = ''

Then you can set this option at user preferences, calendar options.

Shinji

  • Newbie
  • *
  • Posts: 6
    • ICQ Messenger - 327358756
    • View Profile
    • PortalVP - "Верхняя Пышма - OnLine!"
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #2 on: May 20, 2009, 01:37:26 am »
Right, week in Calendar starts from mondey now. But when I try create task and set start and end date I've got minicallendar with week that starts from Sunday.

PS: Sry, I'm bad in English

Benj

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • Génération Linux
    • Email
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #3 on: May 20, 2009, 05:08:10 am »
You can change the first day in your account preferences now :)
I hope it should slov your problem...
Génération Linux

aportet

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #4 on: May 20, 2009, 08:34:06 am »
I'm sorry Benj, but "how", I don't see anything where I could do it. Any recommendation ?? In advance thanks for any help !!

Benj

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • Génération Linux
    • Email
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #5 on: May 20, 2009, 10:43:10 am »
I've the french version, so words can be differents.
You have to go in "Account" on the top-right screen, you sould have your account.
On the right, click on "Edit preferences" (something like that), then "Calendar options".

Here you can display (or not) number of weeks and first day) ;)
Tell me if you managed !
Génération Linux

Shinji

  • Newbie
  • *
  • Posts: 6
    • ICQ Messenger - 327358756
    • View Profile
    • PortalVP - "Верхняя Пышма - OnLine!"
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #6 on: May 20, 2009, 01:18:53 pm »
Right, week in Calendar starts from mondey now.
You can change the first day in your account preferences now :)
I hope it should slov your problem...

Thats mean that I'm already change settins in my account.

I'm try say that I't affect only to TAB callendar, no for DROPDOWN window near date field.

And it was great if I can set week start Monday on whole system, not one user.

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #7 on: May 20, 2009, 02:21:35 pm »
Hi,

Now it is not posible to make date pickers start on monday.
Date pickers will be fixed to start on monday when the option is set.

If you want everybody to have his calendars starting on monday without applying the config option you can modify the default value in the database:
In table 'user_ws_config_options' look for the register that 'name'='start_monday' and modify column 'default_value', set its value to 1.

greetings

aportet

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #8 on: May 21, 2009, 08:00:19 am »
I've the french version, so words can be differents.
You have to go in "Account" on the top-right screen, you sould have your account.
On the right, click on "Edit preferences" (something like that), then "Calendar options".

Here you can display (or not) number of weeks and first day) ;)
Tell me if you managed !

Thank you very much Benj, next time I ask you in French, I use also the French version !!

I preferred to use the MySQL option as described:

Hi,

Now it is not posible to make date pickers start on monday.
Date pickers will be fixed to start on monday when the option is set.

If you want everybody to have his calendars starting on monday without applying the config option you can modify the default value in the database:
In table 'user_ws_config_options' look for the register that 'name'='start_monday' and modify column 'default_value', set its value to 1.


Thanks to all for your quick help, nice gentle and productive community !!

Shinji

  • Newbie
  • *
  • Posts: 6
    • ICQ Messenger - 327358756
    • View Profile
    • PortalVP - "Верхняя Пышма - OnLine!"
Re: 1.4.Beta - Calendar option - Start Week on Monday.
« Reply #9 on: May 29, 2009, 05:39:07 am »
I'm try say that I't affect only to TAB callendar, no for DROPDOWN window near date field.

Thx u for 1.4.1 release!