1. In plugins/date_sources I changed:

'field_type' => 'date' to 'field_type' => 'datetime'

in date_field.inc and post_date.inc.

2. I did not use the svn repository. I used the git repository here:

https://github.com/xamanu/SIMILE-Timeline-libraries

Change #1 let me select a starting date field in views.

Change #2 made the JQuery is not an object errors go away, and now the timeline works and loads.

My field type in the content type is Date. My formatter in the View is Short. I don't have date ranges and I used the same field for both start date and end date.

* * *

These suggestions are scattered through the threads here so I thought I would consolidate them in one comment.

Comments

shunting’s picture

Issue summary: View changes

Revised wording for clarity

raiatea’s picture

It is working basically here with the configuration:

Drupal: drupal-7.20
Drupal module: timeline-7.x-3.x-dev.tar.gz
SIMILE library: timeline_libraries_v2.3.0.zip

1) views ui
plugins/date_sources/date_field.inc, post_date.inc
line 12: 'date' => 'datetime'

2) scrambled display
timeline.admin.inc:
line 58: <div class="status"> => <div>

3) typos
includes/TimelineEvent.class.inc:
line 105: 'value2' => 'value'
line 128: 'latetEnd' => 'latestEnd'

4) main and summary band interval unit widths are not correctly initialized
js/timeline.js:
line 34: band2_unit_width => band1_unit_width
line 53: intervalPixels: 200, => delete

Carlos Miranda Levy’s picture

Did the above and it works :p

spyderpie’s picture

I am unable to get timeline to work as well and although I could follow the instructions above ... I am uncomfortable changing code that would get overridden easily with an update .... anyone know if these fixes will be addressed in future updates?

:) love and light

gregory_kapustin’s picture

Solution [#1] worked for me except for

3) typos
includes/TimelineEvent.class.inc:
line 105: 'value2' => 'value'

I had to keep

line 105: 'value2'

for this to work. Btw, I'm using same date field with beginning and end, it might have to do with that.

Thanks guys !

vickytnz’s picture

And some extra information for those of us messing around with figuring it out:
Rename the libraries file from google code to simile_timeline, and leave the two folders within it.

teunis’s picture

A possible solution :

if (!empty($value['value2'])) $value = $value['value2']; else $value = $value['value'];

TarKHaoS’s picture

It took me some time to figure out how to make the module find my local version of the simile JS library.
vickytnz just wrote it: place the "timeline_js" and "timeline_ajax" folders in a "simile_timeline" folder under your /libraries/ folder. (usually under /sites/all/libraries)

TarKHaoS’s picture

Issue summary: View changes

Added date material