where i can get help for timeline drupal module ? it only shows me "point" and doesn't use start and end date, even if i specified them in the view, or in this way:

1st field Event: Start Date
2nd field Node: Title
3rd field Node: Body

or in this other way

1st field Event: Start Date
2nd field Event: End Date
3rd field Node: Title
4th field Node: Body
in this last case i get back a confusing timeline event title when both dates are specified, it seems using end date as timeline event title

Comments

jmiccolis’s picture

Hi,

The 5.x-dev branch has built in support for date module ranges. If you're using the date module you'll only need to the first field in you view as the date field and the timeline with automatically display nodes with a range if an end date is present.

Hope that helps.

redmood’s picture

ok good it works.. only a javascript error

div.appendChild is not a function
setupTimelineControls([], Object _containerDiv=div#timeline_eventi.timeline, "Filter:", "Highlight:", "Clear All")timeline.js (line 111)
(no name)()timeline_eventi (line 231)
e()

at timeline.js (line 111)

FableForge’s picture

Hi,

I'm using the 5.x-dev branch, and using CCK, created a Content type with a date on it (not a datestamp, just date). I created an event, and made sure to enter both "Date From" and "Date To" in it. I created a view, and the first (and only) field in this view, is this date field.

Timeline should show a block range, but shows just a point. What am I doing wrong?
P.S. I'm using the adodb-time.inc.php library inside modules/date/ to have historical dates (in this case 1945 to 1952)
Thanks.

FableForge’s picture

Hi, I'm not a programmer and don't even know if what I did is right, but it solved my issue so I thought I'd share. On timeline.module, I changed line 483, that read

if(isset($items->items[0]->$date_to)){

into

if($view->field[0]['queryname'].'2'){

That fixed my problem.

Greetings.

xamanu’s picture

Status: Active » Closed (fixed)