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?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | timeline_settings_form.patch | 755 bytes | xamanu |
Comments
Comment #1
xamanu commentedThank 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.
Comment #2
leo.ruffini commentedHi, 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.
Am I doing something wrong?
Comment #3
xamanu commentedLooks 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?
Comment #4
leo.ruffini commentedThanks, 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.