Yii 1.1: timeline

Yii TimelineJs extension
16 followers

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'
          )
        ));
 
      ?>

Resources

Total 5 comments

#17590 report it
playdog at 2014/07/05 01:18pm
Database

how I do it for get an array from the data base?

#12817 report it
Milky Way at 2013/04/13 09:58am
@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

#12809 report it
Trejder at 2013/04/13 03:34am
@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.

#12808 report it
Milky Way at 2013/04/13 02:34am
demo url

Thanks for your advice, the demo url is timeline demo

#12795 report it
Trejder at 2013/04/12 04:51am
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?

Leave a comment

Please to leave your comment.

Create extension