Conversation
review · 4 starsA 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); });
No comments were stored for this source.