In the 4.7 version you could specify another date field to be the end date for a timeline entry. I was using a CCK date field for "birth" and another field for "death." This allowed a bar to represent an author's life-span across the timeline. However, after upgrading to version 5x, the second date field option is no longer allowed. After switching the date of death to the "to" date of a single CCK date field (which should be supported automatically according to the readme.txt), I still can't get the lifespan of an author to show up on the timeline. What I have now: the birth date is in the starting position for the CCK date field and the date of death is in the "to" or ending position for the same date field. The node remains a dot on the timeline. Any ideas?

Comments

bomarmonk’s picture

Any movement on this? I like the timeline module, but I'm not sure anyone is giving it any love...

jmiccolis’s picture

We still love the timeline - but i'm afraid I need a bit more information to help you determine what is wrong.

For starters what versions of the modules (timeline, views & date) are you using? it may also be useful to see an export of your view.

thanks.

bomarmonk’s picture

I am using the 5.x-1 development version of timeline.

It used to be you could specify an "end date" CCK date field for plotting the bars across the timeline. The field that was second or third-- something like that. Now it is simply:

- 1st: If present, used as the start time and end time for the timeline event.
Event nodes will use the start and end date of the event.
CCK date fields will use the from and to date of the field.
If not present, the node's creation time is used instead.
- 2nd: If present, used as the title and clickable link for the timeline
event. If not present, the node's default title is used instead.
- 3rd: If present, used as the description for the timeline event. If not
present, the node's teaser is used (if available). NOTE: at present CCK
nodes don't have a teaser by default, so you'll want to define the
description field explicitly for them.
- Any other view fields are ignored by this module.

But when I use a single CCK date field with an end date, it doesn't seem to work.

Here is my exported view:
$view = new stdClass();
$view->name = 'Author_timeline';
$view->description = '';
$view->access = array (
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'Author Timeline';
$view->page_header = '';
$view->page_header_format = '2';
$view->page_footer = '';
$view->page_footer_format = '3';
$view->page_empty = '';
$view->page_empty_format = '1';
$view->page_type = 'timeline_horizontal';
$view->url = 'authors';
$view->use_pager = FALSE;
$view->nodes_per_page = '0';
$view->sort = array (
);
$view->argument = array (
array (
'type' => 'nodetype',
'argdefault' => '2',
'title' => 'Author',
'options' => '',
'wildcard' => '',
'wildcard_substitution' => '',
),
);
$view->field = array (
array (
'tablename' => 'node_data_field_born',
'field' => 'field_born_value',
'label' => 'Birth',
'handler' => 'content_views_field_handler_group',
'options' => 'default',
),
array (
'tablename' => 'node',
'field' => 'title',
'label' => '',
'handler' => 'views_handler_field_nodelink',
'options' => 'link',
),
array (
'tablename' => 'node_data_field_biography',
'field' => 'field_biography_value',
'label' => 'Bio',
'handler' => 'content_views_field_handler_group',
'options' => 'default',
),
);
$view->filter = array (
array (
'tablename' => 'node',
'field' => 'type',
'operator' => 'OR',
'options' => '',
'value' => array (
0 => 'content_author_page',
),
),
);
$view->exposed_filter = array (
);
$view->requires = array(node_data_field_born, node, node_data_field_biography);
$views[$view->name] = $view;

bomarmonk’s picture

Status: Active » Fixed

I believe I figured out my problem: I needed to upgrade to the latest version of the Date module. After I did this and saved my nodes with the "to date," my timeline entries started showing up as blocks. Very nice. Either way, it looks like this is no longer an issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.