Posted by ndm on September 25, 2009 at 10:11am
Jump to:
| Project: | Timeline |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | xamanu |
| Status: | closed (fixed) |
Issue Summary
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?
Comments
#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.
#7
Just use the module and have the same issue here. I agree with Felix, "Ideally I'd like to print out a message on the timeline". However, from usability stand point, I believe timeline may or may not show up when there is no data.
The best way is to leave the options to users, like "map" that you can use a default map for "empty text" when no data. If this is difficult to accomplish, I think we can go either one...
1. When no data, show timeline with warning on the timeline
2. When no data, not present timeline at all
Thank you for maintaining the module, it is cool and easy to use!