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',
)
);
?>
Resources ¶
I didnt add any css & JS ..you can develop & modify for your application
...About more ...
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 :
Thanks if you could help,
Very cordially,
ANDRE Ani
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.