| Project: | Timeline |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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?
Comments
#1
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.
#2
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$ lstimeline_ajax timeline_js
Am I doing something wrong?
#3
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?
#4
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.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.