| 1 |
Installation
|
| 2 |
------------
|
| 3 |
|
| 4 |
* Create a new directory "weather" in your modules directory.
|
| 5 |
* Copy the module into the newly created module/weather directory.
|
| 6 |
* Go to admin/build/modules and enable the weather module.
|
| 7 |
* Go on with the configuration, see below.
|
| 8 |
|
| 9 |
Configuration
|
| 10 |
-------------
|
| 11 |
|
| 12 |
* If you want to have a system-wide weather block (i.e. the same
|
| 13 |
location for every user), go to Administer->Site configuration->Weather
|
| 14 |
and configure the location. Go to Administer->Site building->Blocks
|
| 15 |
and enable the "Weather: system-wide" block.
|
| 16 |
* If you want to allow users to configure their own custom weather
|
| 17 |
blocks, go to Administer->Site building->Blocks and enable the
|
| 18 |
"Weather: custom user" block. You might want to change the
|
| 19 |
"Custom visibility settings" in the configuration page of the block to
|
| 20 |
"Hide this block by default but let individual users show it."
|
| 21 |
Afterwards, go to Administer->User management->Access control and
|
| 22 |
set the "administer custom weather block" permission for the
|
| 23 |
appropriate role.
|
| 24 |
* Go to Administer->Site configuration->Weather or "My weather" and
|
| 25 |
select the location for which you would like to display the current
|
| 26 |
weather conditions.
|
| 27 |
* If you want to add another location to your block, click on the link
|
| 28 |
"Add another location to the block", right under the button
|
| 29 |
"Save configuration". If you have configured multiple locations, they
|
| 30 |
will be listed on the bottom of the page. Click on the location to
|
| 31 |
change the configuration, or click on "Delete configuration" to
|
| 32 |
remove it from your block.
|
| 33 |
* Optionally, decide which units should be used for displaying the
|
| 34 |
weather data.
|
| 35 |
* You can also set the weight of the location, to change the order
|
| 36 |
of appearance in the block.
|
| 37 |
|
| 38 |
Requirements
|
| 39 |
------------
|
| 40 |
|
| 41 |
This module works with Drupal 6.x
|