Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
damiankloip CreditAttribution: damiankloip commentedsorry 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.
Comment #2
damiankloip CreditAttribution: damiankloip commented