Hi guys,

I really hope you can help me, cuz I'm about to go nuts over this.

How do I use my customized weather icons that are saved locally in the same folder as the module? Is it possible - if not - then how do I go about it?

Thanks in advance.

Comments

damiankloip’s picture

Status: Fixed » Active

sorry for delay, Not sure if you have this sorted now or not? The template provides the markup where the images are placed. You would have to create you own template (copy of google-weather.tpl.php from module), use the weather data to determine which of your own images you wanted to show and do that, this could all go in a preprocess function in your template.php file.

In the google weather data there is a property for the condition, which correlates with the icon used by google.

damiankloip’s picture

Status: Active » Fixed

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.