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
Comment #1
bomarmonk commentedAny movement on this? I like the timeline module, but I'm not sure anyone is giving it any love...
Comment #2
jmiccolis commentedWe 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.
Comment #3
bomarmonk commentedI 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:
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;
Comment #4
bomarmonk commentedI 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.
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.