OK, for the 95% of the world population who don't live in the USA *wink* this will work (or at least it does for me).
Warning: Save all files you are about to edit to a back-up file1. Drill down to your location on Yahoo Maps
http://weather.yahoo.com/2. Look at the address bar (I live in Melbourne, Australia so it looked like this:
http://ther.yahoo.com/Melbourne-Australia/ASXX0075/forecast.html?unit=c)
3. Copy the region/area code (for me it was: ASXX0075)
4. Now open up the weather.class.php file (../modules/mod_s5_weather) and search for the the word: 'location' (there are two instances) and replace with the code that you have just copied from Yahoo, save and close.
5. Open up mod_s5_weather.php file and look for the line:
echo "<strong>".$ret[0]['location']."</strong>
";replace with this:
echo "<strong>".'My City Weather'."</strong>
"; or whatever title you want. Save and close. (The reason for this edit is if you enable the title in the Module Admin it leave a big space after it before the actual weather function starts, so use this and don't enable the title in the Admin area and this will look better...or do it your own way!)
6. In the Admin area of the weather module simply paste the Yahoo region code into the zip code box (eg mine is: ASXX0075)
7. Enable the module as per normal in the Admin area
That's it!
While you have the files open you might as well fix the spelling mistakes:
1. mod_S5_weather.xml - change Celcius to Celsius (one instance)
2. mod_S5_weather.php - change preasure to pressure (two instances)
3. weather.class.php - change preasure to pressure (one instance)
And thanks to Shape5, nice Template.
David