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 |
Jump to:
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
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
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
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
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
tagging as fixed.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.