Weather by You!
Templates and Projects support => Templates and Projects discussion => Topic started by: avoorpool on August 07, 2012, 10:25:16 AM
-
HI Jacques,
Took a bit of time to get my way around the new English Forum :)
The WB V2 offers the EC Forecast (long and short term). I checked with Saratoga Weather and also found the Wunderground (WU) Forecast script. Although it says it is not for N-America and Canada, the script runs perfectly after I modified it for my region. (see: http://altonaweather.ca/forecast/WU-forecast.php).
SInce I like to have a "closer-to-home" forecast as well (when you click on the link in the bottom of the page, it actually redirects to Altona Forest Weather in Pickering) is there a way to incorporate the WU0forecast script as well in Weather Blues???
Thanks,
Arthur
-
Hi Arthur,
Welcome home! ;D
Sorry, I haven't worked on WU version... Too much work with forums and WB2! ???
For a closer link on WU stations, you only have to found at botton, link that specify Oshawa.
eg. ... getForecast?query=Oshawa%2C+Canada
and you only have to change "Oshawa" word by "Pickering" (or whatever you want).
I have tested it with Pickering, and it works great!
For including it in your Template, you just have to include all between <body>...</body>
in an empty Weather Blues page and you'll be ok!!
Regards,
Jacques
-
Hi Jacques,
With a lot of additional help from your side (Thank You!!), it all works great and the WeatherUnderground forecast page looks awesome in my website and the WB Template.
Since I have the ec-forecast.php file set up as well for my area, is the same implementation of this .php file possilbe so I have both forecasts (EC and WU) displayed however in different pages??
Thanks,
Arthur
-
Hi Jacques,
Currently I have 3 forecast pages up and running *WU forecast from my Weather Station, Environment Canada forecast - 1 for Toronto and - 1 for Pickering). All works fine and looks good.
Previously I've seen the embedded EC forecast into the Weather Blues template (matches all other pages in lay-out and design).
What needs to be done in the ec-forecast.php script to implement this information into the WB template??
I now have $include ec-forecast, so it takes the entire script into my page, but would like to have it "sorted" like it's shown in WB preview........
Thanks,
Arthur