Yii 1.1: weatherwidget

Weather Widget uses Google's Weather API
2 followers

This is a Widget to get weather data from Google's Weather API

Resources

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • The extraction will result in to 2 folders, protected and images.
  • Copy the protected/components/weather folder to protected/components
  • Copy the images/weather folder to images

Usage

The widget needs a input location, which can be: 1. ZipCode (Example:63376) or 2. Address (Example: new+york,ny).

In your view simply invoke the widget.

$this->widget('application.components.weather.GoogleWeatherAPI', array('location'=>$location));

Change Log

October 09, 2009

  • Initial release.

Be the first person to leave a comment

Please to leave your comment.

Create extension