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.
Synopsis
This module create a block with a input to search the weather of one place using the Yahoo Weather API
Requirements
- Create a App for generate the consumer key
- If you don't want to create the app or don't have a Yahoo account you can use this consumer key
dj0yJmk9cU1aMGZhWDVJbzh4JmQ9WVdrOVJrMDVTSE5CTlRBbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD0yMw--
- Enter the consumer key on this path http://example.com/admin/config/media/yahoo-weather-widget
- Place the block "Yahoo weather search" where you need it
- If you are log in, the block will save the last search
Git repo
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/danielnv18/2391767.git yahoo_weather_search_widget
Comment | File | Size | Author |
---|---|---|---|
#6 | Welcome_to_Site-Install___Site-Install.png | 76.58 KB | danielnv18 |
Comments
Comment #1
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
jduarte CreditAttribution: jduarte commentedNice Module, works great for me.
Comment #3
alarez CreditAttribution: alarez commentedGetting this error after install:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd7.yahoo_weather_search_widget_woeid' doesn't exist: SELECT y.woeid AS woeid FROM {yahoo_weather_search_widget_woeid} y WHERE (y.uid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1 ) in yahoo_weather_search_widget_get_user_place() (line 526 of /Users/alarez/pdevs/my-drupal-contributions/d7-fortesting/drupal-7.31/sites/all/modules/contrib/yahoo_weather_search_widget/yahoo_weather_search_widget.module).
Comment #4
alarez CreditAttribution: alarez commentedComment #5
zeeshan_khan CreditAttribution: zeeshan_khan commentedHi Daniel,
Excellent module!, Everything worked fine to me two quick questions.
1) why you are using readme.md instead of readme.txt?
2) why your module's configuration menu is not showing in admin menu?
Please check and fix this.
Best,
Zeeshan
Comment #6
danielnv18@Alarez. Thanks. I already fixed.
@Zeeshan
1) I use readme.md because drupal.org allow it and mainly because I also pushed it to githib and it has better support for "md" files.
2) I did a fresh install with the admin menu and I couldn't replicate your issue. The role was admin or wasn't the #1? that role has the permission assigned it? could please give more info? Thanks
Comment #7
zeeshan_khan CreditAttribution: zeeshan_khan commentedReview of the 7.x-1.x branch (commit b925dc0):
Coder Sniffer has found some issues with your code (please check the Drupal coding standards).
FILE: /var/www/drupal-7-pareview/pareview_temp/css/weather-icons.min.css
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
1 | WARNING | File appears to be minified and cannot be processed
--------------------------------------------------------------------------------
Time: 647ms; Memory: 12.25Mb
No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Source: http://pareview.sh/ - PAReview.sh online service
Not seen any application blocker.Setting this to RTBC :)
Comment #8
danielnv18@Zeeshan Thanks. I previously saw that error message in the http://pareview.sh/ but because the css is min. If the module can't contain a min css file I'll change it
Comment #9
camoa CreditAttribution: camoa at Camo Advanced Tech commented5 Months is a long time to be in this status.
Comment #10
cweagansThanks for your contribution!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #12
apaderno