Yii 1.1: weathersmcs

weather_smcs View the latest weather forecasts, Find local weather forecasts for the cities throughout the world.
2 followers

weather_smcs View the latest weather forecasts, Find local weather forecasts for the cities throughout the world.Power by Yahoo Weather

What are Features include on weather_smcs : - Current city weather condition - Current Wind & Pressure about city - Weather Forecast about next 4 days

Requirements

...requirements of using this extension (e.g. Yii 1.1+)...

Usage

### Installation

This extension is tested and known to work out of the box with Xampp, WAMP, and common Linux distributions.

Download and Extract

Download the extension from the Project GitHub page and extract the weather_smcs"package into your application's protected/extensions directory. Make sure the extension directory is named 'weather_smcs'. The extension must be installed under the 'ext.weather_smcs' path alias to work properly.

How get data

See the following code example:

<?php
$this->widget('ext.weather_smcs.Weather_smcs',
            array(
                'country'=>'srilanka',
                'city'=>'ratnapura',
            )
 
);
?>

channa_senevirathna_bandara

Resources

I didnt add any css & JS ..you can develop & modify for your application

...About more ...

  • [GITHUB-page]-https://github.com/channasmcs/weather_smcs_YII-Framework
  • MY BLOG SITE

Total 1 comment

#19553 report it
ANDRE_Ani at 2015/09/06 01:04am
Need help please

Hello,

I'm new to PHP and Yii. I'm using the basic app example of Yii.

I've installed the extension, and copy/paste your code example but it's not working. I've got his :

Unknown Methodyii\base\UnknownMethodException
Calling unknown method: yii\web\View::widget()

Thanks if you could help, Very cordially,

ANDRE Ani

Leave a comment

Please to leave your comment.

Create extension