WordPress.org

Ready to get started?Download WordPress

Plugin Reviews

Timelines

Allows to create and publish timelines in your blog using Simile Timeline Widget [http://www.simile-widgets.org/timeline/].

Average Rating
2 stars
2.8 out of 5 stars
4 stars
Timelines 1.0 - a few hot fixes to get it running.
By , for WP 3.4.2

A few hot fixes are required to get it running

To fix plugin activate problems.
Edit file: timelines\timeline.php
Change line 14 to:

load_plugin_textdomain('tl', false, PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/langs');

To fix errors when no hot zones exist yet.
Edit file: timelines\html.php
Change line 47 to:

if(isset($band['hotzones']) && count($band['hotzones']) > 0) {

Fix javascript load order problems.
Edit file: timelines\html.php
Change line 24 to

<!-- <script type="text/javascript" src="<?php print $tl_url; ?>/simile-timeline/timeline-api.js" ></script> -->

Then add the following to the end of the file

<?php
function load_timelineV1() {
  wp_enqueue_script( 'timeline', plugins_url( '/simile-timeline/timeline-api.js', __FILE__ ) );
}
add_action('wp_enqueue_scripts', 'load_timelineV1');
?>

To fix stale timeline data problems
Edit file: timelines\html.php
Change line 95 to

Timeline.loadJSON("<?php print WP_PLUGIN_URL.'/'.dirname(plugin_basename(__FILE__)).'/data/'.$id.'.json'; ?>" + "?" + (new Date().getTime()) , function(data, url){ eventSource.loadJSON(data, url); });

You must log in to submit a review. You can also log in or register using the form near the top of this page.