Closed (fixed)
Project:
yahoo weather
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Aug 2007 at 14:38 UTC
Updated:
18 Aug 2008 at 12:18 UTC
- Drupal 5.2
- OSX, MAMP, PHP 5
1. module installed
2. weather block activated
3. change yahoo location from default to "AUXX0037"
4. save changes
no change saved!!!
Comments
Comment #1
csc4 commentedSame problem here - the block doesn't seem to save the variable to the database at all.
There is also the problem that the code doesn't seem to use any variable in any case! as the value appears to be hardcoded to BEXX0003 / antwerpen
Comment #2
kilimanjaro commentedSame problem. Everytime I saved it to my area code, it always go back to "NLXX0002".
Plus, the block doesn't show anything. Not even the Amsterdam weather forecast.
Comment #3
kilimanjaro commentedBTW, I did insert the PHP code "
return block_assign_show('q_weather', '0');" and it still doesn't show anything upComment #4
rp_praveen commentedChanging the location code dose not get saved.
Comment #5
oschuetze commentedHi,
the problem is that the location code is not stored to the database.
Add the following lines to the function "q_weather_block":
Additionally, the line with the hardcoded location in the function
"get_q_weather_data" has to be replaced by:
As you can see, I have also updated the URL of the weather feed.
Regards,
Oliver
Comment #6
keesje commentedDuplicate
Comment #7
keesje commentedHi every body,
This seems to be the first module I released that actualy gets used, so please have some patiencs.
I'm in a process of testing a far more advanced Yahoo weather module, provided by Aaron Fulton, that will replace this one. It will have much more features. It's based on the Weather module by Tobias Toedter.
If someone has problems with that, and like to see this simple, one-block only module to be fixed, please send me a message telling so.
Regards,
Kees
Comment #8
najibx commentedwould be a great addition when ready for use.
Comment #9
keesje commentedSince I haven't heard of Aaron since, and people seem to like the module as is, I want to maintain it.
Your code changes have been applied in CVS/dev version.
Thanks for posting!
Please test and share experiences, so I can mark this fixed.
Regards,
Kees
Comment #10
keesje commentedWaiting for community feedback
Comment #11
keesje commentedClosed, no feedback in 5 months.