| 1 |
// $Id: README.txt,v 1.3.2.3 2007/08/23 22:15:17 lukelast Exp $ |
// $Id: README.txt,v 1.5 2007/08/23 22:15:50 lukelast Exp $ |
| 2 |
|
|
| 3 |
INSTALL INSTRUCTIONS FOR AUTOTIMEZONE.MODULE |
This module automatically updates the time zone setting on user accounts. This |
| 4 |
---- |
is accomplished by using JavaScript on the client machine to send the data back |
| 5 |
|
to the server. The benefit is that users don't have to manually update their |
| 6 |
|
time zones in their profiles. |
| 7 |
|
|
|
1. Copy the autotimezone directory or the autotimezone.module and autotimezone.info files to your Drupal modules/ directory |
|
|
2. Login as site administrator. |
|
|
3. Activate autotimezone.module on the "administer->Site building->modules" page. |
|
|
4. Enjoy. |
|
| 8 |
|
|
| 9 |
DESCRIPTION |
Installation |
| 10 |
---- |
------------ |
| 11 |
|
|
| 12 |
This module automatically updates the time zone setting on users accounts. This is accomplished by using JavaScript on the client machine to send the data back to the server. The benefit is that users don't have to manually update their time zone in their profile. |
1. Copy the autotimezone directory to your modules directory. |
| 13 |
|
|
| 14 |
MODULE OPTIONS |
2. Login as site administrator. |
|
---- |
|
| 15 |
|
|
| 16 |
The setting "Site configuration->Date and time->Configurable time zones" must be Enabled for this module to work. |
3. Enable Auto Time Zone at Administer >> Site building >> Modules. |
| 17 |
|
|
|
This module has the optional feature of setting a $_SESSION['timezone'] variable for guest users. This feature can be taken advantage of in custom code or other modules when a guest user’s time zone is needed. The Value of $_SESSION['timezone'] is in minutes from GMT. |
|
| 18 |
|
|
| 19 |
Please send comments to luke {at} lukelast [.] com |
Usage |
| 20 |
|
----- |
| 21 |
|
|
| 22 |
|
The setting Site configuration >> Date and time >> Configurable time zones must |
| 23 |
|
be enabled for this module to work. |
| 24 |
|
|
| 25 |
|
This module has the optional feature of setting a $_SESSION['timezone'] variable |
| 26 |
|
for guest users. This feature can be used in custom code or other modules when a |
| 27 |
|
guest user’s time zone is needed. The value of $_SESSION['timezone'] is in |
| 28 |
|
minutes from GMT. |