Overview ¶
TimelineJS is great for pulling in media from different sources. Just throw in a link from Twitter, YouTube, Flickr, Vimeo, Google Maps or SoundCloud and TimelineJS will format it to fit perfectly. More media types will be supported in the future.
You can use this extension for your task manage or other application.
Requirements ¶
requirements of using this extension (e.g. Yii 1.1 or above)...
Usage ¶
how to use this extension...
- This extension have to be installed into:
- Yii-Application/proected/extensions/Timeline
can use code blocks like the following...
<?php $this->widget('ext.Timeline.Timeline', array(
'id'=>'demo',
'language'=>'zh-cn',
'options' => array(
'width'=>'100%',
'height'=>'100%',
'source'=> 'path/to/example_json.json'
)
));
?>
Need a demo
Link "Try out a demo" points to a GitHub repo, not a real demo. Can you provide a real, working demo, to see this extension in work?
demo url
Thanks for your advice, the demo url is timeline demo
@Milky Way
Link works, but demo itself seems to be not working. Page loads very slow and once it actually loads, all I see is a round, animated loader and message saying "Loading Timeline". It stays there for over 20 minutes and you can't do anything else.
@Trejder
u can put the example_json.json anywhere, like http://localhost/test/example_json.json
then load it:
<?php $this->widget('ext.Timeline.Timeline', array( 'id'=>'demo', 'language'=>'zh-cn', 'options' => array( 'width'=>'100%', 'height'=>'100%', 'source'=> 'http://localhost/test/example_json.json' ) )); ?>
The example_json.json under the Timeline/example/example_json.json
if dont show, set the layout false plz
Database
how I do it for get an array from the data base?
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.