Create own weather pngs
damon.cook - May 8, 2009 - 14:09
| Project: | Weather |
| Version: | 6.x-5.5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have a set of weather pngs I would like to incorporate, but I'm not sure how to hook into the modules /images/ directory without editing the module's core? Please advise? I've copied over weather's template file to my theme's directory so I can skin it, but I would also like my theme's /images/ directory to contain my custom weather .png.
Thanks,
Damon

#1
((((((((((((( HELLOOOO??? )))))))))))))))))
#2
If you just want to add your own custom icons in place of the default ones from the module, why not just save each new icon in place of the original, then the module will just access the new image.
#3
Yes, but I would rather not modify the module's files, because it is not proper dev etiquette. I know, I know...so prissy.
#4
Hm, currently, this is not possible with the weather module. Are there other modules which provide such a functionality?
#5
damon.cook is correct; modifying the module's files is touchy, because whatever changes he makes will be overridden the next time he upgrades the module to a new release.
as I don't see any other way around it, I've done just this--replaced all the weather icons in the module's dir. When an update becomes available, I simply plan to back up the images, perform the update, then replace the images once again.
Not the prettiest solution, but it'll have to do for now!
#6
Given that there's a whole load of tedious renaming involved (or development of a macro, which isn't easy for everyone), would you mind posting a zip of the images dir that you're using, benahlquist? If the icons are open-license, of course :)
Thanks!