MS-Weather v3.0 Released
Date: Sunday, May 25 @ 15:10:35 CEST
Topic: Modules


MS-Weather v3.0 is released and available in the download area.

Following is new in MS-Weather v3.0:
  • http://weather.yahoo.com in stead of http://uk.weather.yahoo.com/ is being used to grab the weather forecast from
  • Colors in the module are configurable
  • Language support. The complete block and module have language support. MS-Weather comes with a Dutch and English language module
  • User can select following items which can be displayed in module
    • General Overview Today
    • Forecast
    • More Current Conditions


Extra Info:

** Adding City Codes:

Go to http://weather.yahoo.com/ to look up city codes for places you want to add. Click on a place, and in the title bar of your explorer you will see something like this:
http://weather.yahoo.com/forecast/NLXX0014.html NLXX0014 is for instance the city code for: Europe- Netherlands- Maastricht

** Changing Color Scheme of Module:

The following colors in the module can be changed:
  • $DateUnitBackGround = "#ffffff"; This is the color bar of the data and F|C
  • $TableBar = "#58B6E6"; The Bars of the Forecast and More Current Conditions tables
  • $TableBackGround = "#ffffff"; The background of the Forecast table
  • $FontColor = "#000000"; The color of the font
These 4 variables can be found in the modules/MS_Weather/msw_config.php File

** Language Support:

The complete language is language supported. MS-Weather comes with a Dutch and English language module. Just copy either file and update it to your own language.





This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=189