This extension provides a simple RSS feed reader that shows scrolling news with the possibility to choose direction and speed
Requirements ¶
Make sure to download latest version of this extension
Yii 1.1 or above Tested on Yii 1.1.14
Usage ¶
- Copy ya-simple-feed directory into the extensions directory
- Use the widget in a view specifying
- a. the url of the feed to grab and
- b. the speed of slideshow (OPTIONAL, default is 5)
- c. the direction of feed (OPTIONAL, default is 'left')
Example: ¶
<?php
$this->widget(
'ext.ya-simple-feed.YaSimpleFeed',
array(
'feedUrl'=>'http://yourfeedsite.com/page.xml',
// feedSpeed must be an INT (OPTIONAL, by default is 5)
'feedSpeed'=>7,
// feedDirection must be a string as 'left','right,'up' or 'down' (OPTIONAL, by default is 'left')
'feedDirection'=>'left',
)
);
?>
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.