Closed (fixed)
Project:
Timeline
Version:
master
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
16 Feb 2008 at 20:08 UTC
Updated:
6 Oct 2008 at 07:03 UTC
Since Drupal 6 has been released, Timeline 6.x is now needed.
Please give Timeline some love!
Comments
Comment #1
jmiccolis commentedHi,
As I understand it views still isn't stable for Drupal 6 and as timeline is very reliant on views - please don't expect an update here before views is (mostly) done.
- Jeff
Comment #2
belio commentedsubscribing
Comment #3
geodaniel commentedViews is looking like it's in a pretty stable pre-release state now. Is there any update on the D6 status of timeline module?
Comment #4
faunapolis commentedSubscribing :)
Comment #5
jmiccolis commentedI've begun porting timeline to Drupal 6 and I'll be committing the code to HEAD as things begin to work again.
Comment #6
Phantascene commentedsubscribing
Comment #7
caillou commentedsubscribing
Comment #8
isis-1 commented*Love*
Thank you!
Comment #9
bomarmonk commentedSubscribe...
Comment #10
jmiccolis commentedA quick update. I've finally gotten timeline module's basics working in Drupal 6, but the code is pretty rough currently. When it's just slightly cleaner I'll be committing it to CVS.
Comment #11
chirale commentedThanks Jeff. Please notify here the commit, I can hardly wait this porting! Maybe at that time a first addition to module release page can be useful, I hope some nice patches of 5.x version will be ported (e.g. #121298: Color coding based on taxonomy or content type or #104890: Add configurable icons for timeline events).
Comment #12
jmiccolis commentedHi All,
I've just committed a first pass at the Drupal 6 upgrade. You'll need to check it our from CVS, and use it with the views rc1. (I just saw the new rc2, so I'll try to get it updated for that very soon). The module is by no means ready for production use.
I would really appreciate some help restoring event and date modules support. Once we have that back I'll close this ticket and we can look at adding new features.
Comment #13
chirale commentedI've tried the new Drupal 6.x CVS version: using "Node: Post date" things work fine, but I've got a problem with a start date coming from date module. On line 278 of timeline.module:
Lines 262-268;
As a test, I change line 278 to "if(TRUE)" solving the issue with a single date field (start date is ok but end date doesn't appear even if I add value2 field), maybe a control for cck date field should be provided.
Edit: "Wed, 31 Dec 1969 23:00:00 GMT" is assigned to all empty date values, these elements shouldn't appears in the view.
Comment #14
jmiccolis commentedAs I mention above Date and event module support aren't yet back. Also, I accept patches :)
Also, I looked at the event modules today and I think I'm going to drop event support as there doesn't appear to be views integration for D6.
Comment #15
chirale commentedHi Jeff, I've tried the new version for Views RC2: this time no elements appear in the timeline (even with Node: Post date) and, most important, Date RC2 cease to works with Views RC2, so Date testing with this version is impossible (and Date HEAD is still unusable).
Views RC1 + previous timeline HEAD version + Date RC2 worked for me, maybe we have to wait Date module adapts to Views RC2.
Note: current HEAD version is incompatible with Views RC1, on timeline.views.inc it seems fixed with:
but since basic functionalities doesn't work there on my installation I cannot say it is right.
Comment #16
chirale commentedWell, updating CCK (6.x-2.0-rc7), Date (6.x-2.0-rc3), Views (6.x-2.0-rc3) and getting the latest timeline HEAD from CVS (2008-09-20), CCK Date integration is nearer.
I have one CCK Date field named "field_release_date" with "From" and "To" values. To get their respective ID, on timeline.module I print out $field_id on function
timeline_is_temporal(this function is a good improvement for scalability, thanks).From value are stored on
node_data_field_release_date_field_release_date_valueTo Value is stored onnode_data_field_release_date_field_release_date_value2, so my temporals array became:Control statements are designed to get the first date value (checked via timeline_is_temporal) as From, the latter as To. In this way, CCK Date start to work with timeline!
Since the field must be specified by hardcoding timeline.module, this isn't the better solution (just good for testing). Field type or content, instead only name, should be checked on timeline_is_temporal.
Note: on titles, entities are shown instead special character (e.g. ').
Comment #17
jmiccolis commented@chirale, Thanks for checking this out for me. I'll be looking at refactoring timeline_is_temporal() today to add date module support. I'll post back once that's done.
Comment #18
jmiccolis commentedI've just re-implemented date support. This was the only bit of functionality left before doing a beta. However there is still a bit to do here - mainly testing and documentation.
There should be a tarball on the project page once the packaging scripts run. This ticket here I'm closing :)
Comment #19
thomas23@drupal.org commentedlast minute subscribing...
Comment #20
chirale commentedGreat Jeff, dev version behave exactly as #16, but without hardcoding, like old 5.x. If I found other bugs (or request new features, like backporting 5.x feature patches) I'll open separate issue for 6.x dev.
Comment #21
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.