Warning message when timeline doesn't have event data

ndm - September 25, 2009 - 10:11
Project:Timeline
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:xamanu
Status:closed
Description

I have timeline with arguments, I have attached this view with cck view to an node type. For many nodes i don't have timed records, but the timeline appears, the library load...

It is possible to deactivate view if the result is empty?

#1

xamanu - September 28, 2009 - 12:21
Title:Timeline show up even if no record is present» Warning message when timeline doesn't have event data
Version:6.x-2.0-beta3» 6.x-2.x-dev
Category:bug report» feature request
Assigned to:Anonymous» xamanu
Status:active» needs work

This is like this by design. I implemented the timeline this way, because the I think it is better to have an empty timeline than a blank screen (like it was in version 1.x). Ideally I'd like to print out a message on the timeline but this doesn't seemed to be supported by the SIMILE timeline libraries.

Anyway I think a nice way would be having drupal printing a little warning message that no event data is present. I will include this for the next beta.

#2

ndm - September 29, 2009 - 22:30

For me the message is no implemented by timeline.

It exists a message for empty query in the view module. Why not use this?

#3

xamanu - September 29, 2009 - 22:41

I'm going to implement it soon. It will be available with the next beta version.

If you have a good idea and want to help, why don't you write a little patch? This way it would be happening sooner and I'd appreciate any valuable help on this module.

#4

xamanu - October 7, 2009 - 10:27

I think the timeline should show up no mater if there is data to show or not. I feel it like a map, that would show up anyway.

The newest version (after commit #271752) now shows a little message warning that no data is available.

#5

xamanu - October 7, 2009 - 10:28
Status:needs work» fixed

tagging as fixed.

#6

System Message - October 21, 2009 - 10:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.