So the title I think is obvious. I checked Firebug and sure enough there are 4 instances of static.

Could this be the problem?
http://localhost/drupal-lms/sites/default/files/timeline/local_variables... - 404 Not Found - localhost

Loaded externally
http://static.simile.mit.edu/ajax/api-2.2.0/simile-ajax-api.js - static.simile.mit.edu
http://static.simile.mit.edu/ajax/api-2.2.0/simile-ajax-bundle.js - static.simile.mit.edu
http://static.simile.mit.edu/ajax/api-2.2.0/scripts/signal.js?1 - static.simile.mit.edu

The reason why I noticed this was I trying to remove the word [space] which is inserted instead of the   character, which looks horrible. So I searched and replaced it in the two places it showed up in my local js files. Noticing that replacing them made no difference I checked where the JS files were being loaded from.

Any idea of a solution for this?

CommentFileSizeAuthor
#1 timeline_settings_form.patch755 bytesxamanu

Comments

xamanu’s picture

Priority: Normal » Minor
Status: Active » Fixed
StatusFileSize
new755 bytes

Thank you for reporting this!

The error is caused because on the submit of the settings form it checks for a variable from the variables table. Since this is getting set after the check it is not being considered and the file (files/timeline/local_variables.js) is not getting created. You can simply resave your admin settings form and it should create the necessary file.

I fixed this bug with the attached patch (but anyway you would have to save your settings page again). And it has been committed (#288690) to the 6.x-2.x-dev branch of the module.

leo.ruffini’s picture

Hi, nice and helpful module. I'm using it to show pending actions in a CRM.

I'm using version 2.1 and have followed the instructions but I still get that message saying the timeline library is not installed locally.

/var/www/internal/sites/all/libraries/simile_timeline$ ls
timeline_ajax  timeline_js

Am I doing something wrong?

xamanu’s picture

Looks like the libraries are placed correctly.

Please check that you have the libraries api module is installed.
Where did you get the simile libraries from? Was it from the github source?

leo.ruffini’s picture

Thanks, xamanu.

Nope: I don't have the libraries api module installed. I see there's no stable version of it, so I'll rather keep using the libraries from the Simile server.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.