My issue is similar to http://drupal.org/node/835578 but I'm not using any custom code. I'm all tapped out on ideas and need help.
My timeline view was working fine (3 mths) using Simile server library but I want to switch to local folders to avoid the __history__.html error and the slow page load. I followed the INSTALL.txt file to add local simile_timeline library folder and library module. View was left unchanged and only change was library location; "Local folders" on admin/settings/timeline. My time line with LightTheme was no longer visible on the page, only a box outline. After testing I found the following:
1) I can only see time line with ClassicTheme when local folder is selected using browsers IE8 and Firefox 3.6. Neither DarkTheme or LightTheme work. Opera 10.6 let's me see the time line no matter what theme.
2) I can use any default theme, Classic, Light, or Dark when Simile server is selected using all 3 browsers
The only settings changed for the testing was the library location on admin/settings/timeline and Theme in the View Style section. Using Firebug console I get the following errors with local folders and LightTheme selected:
Timeline is not defined
[Break on this error] Timeline.LightTheme = new Object(); theme.js?Z (line 8)
Timeline[theme] is undefined
[Break on this error] var theme = Timeline[theme].create(); timeline.js?Z (line 5)
I selected the DEBUG option but since the time line works fine with ClassicTheme I'm not sure it tells us much other than it does indeed recognize I want the LightTheme. I've flushed all caches and run cron with no change. It doesn't appear to be the code on timeline.js or theme.js but rather something earlier in the js chain. I tried various solutions in this help section that seemed somewhat related but neither resolved the problem.
Changed the code in timeline.module per http://drupal.org/node/702380
// check if library is available 'sites/all/libraries/simile_timeline'
if (is_dir($timeline_path)) {
$messages = '';
Changed Timeline.class.inc per http://drupal.org/node/600044#comment-2147920
From -- $this->data['theme'] = drupal_substr(strrchr($view->style_options['display']['appearance']['theme'], '/'), 1);
To -- $this->data['theme'] = $view->style_options['display']['appearance']['theme'];
I'll be happy to provide other info for troubleshooting.
Thanks much
Comments
Comment #1
MaskedMarauder commentedI can't get it to work anymore either.
Using firefox and firebug on linux: the error I get is:
no further information (line numbers, file path, etc) is reported.
While on the timeline views page all of the other javascript is broken as well. That is, DHTML and collapsiblock don't work. I have no similar problem on any other page than the timeline view.
It looks like the javascript is messed up somehow. I don't have local simile libraries, so maybe the problem is on the MIT.edu end? I tend to favor this hypothesis since the timeline 3-dev module throws the same error.
I don't use timeline often, so I don't know when the problem manifested itself.
I also noticed while pawing around that it would try to load the ClassicTheme pack, and that can cause an error too since the module I have only has the Dark & Light themes.
Comment #2
xamanu commentedThis should be fixed with 6.x-3.x-dev version.
Comment #3
xamanu commented