Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since Drupal 6.0RC3 has been released[1] I really think it would be interesting to upgrade this module to next Drupal 6.
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThere is no way to do that until Views 2 is released for Drupal 6.
Comment #2
rmontero CreditAttribution: rmontero commentedThey're releasing an alpha version of Views2. Looking forward to seeing that!
I'd like to help upgrade this module to D6.
Comment #3
KarenS CreditAttribution: KarenS commentedI am still making changes for version 2, but it is getting relatively stable (and I think a number of the remaining issues are Views-related and the D5 fixes for those won't work in D6 anyway), so feel free to start submitting patches against HEAD for this. It doesn't have to be done in one big patch, it can be a series of patches, whatever works to get the job done :)
Thanks!
Comment #4
fm CreditAttribution: fm commentedsubscribed.
Comment #5
zilla CreditAttribution: zilla commentedsubscribed - and happy to test this out for you on a non-production d6 site alongside date to see how it works and report back glitches, etc...
Comment #6
KarenS CreditAttribution: KarenS commentedI'm currently trying to get CCK for D6 working, in particular the Views 2 integration in that code, then will jump back and work on Date and Calendar.
Comment #7
zilla CreditAttribution: zilla commented@karens - thank you! i've been testing out date on d6 (the alpha) and reported two bugs on that specific thread as well...
Comment #8
KarenS CreditAttribution: KarenS commentedViews 2 is getting pretty complete now and many of the things Calendar will need are available or should be soon, so I hope start work on the D6 port in the next week or so. Patches are welcome, either to get HEAD upgraded for general D5 to D6 changes or Views 1 to Views 2 changes.
Comment #9
andrewfn CreditAttribution: andrewfn commentedsubscribing. (Karen, you are amazing! If only we could clone you so that you could work on all your modules in parallel.)
Comment #10
Axel_V@drupal.org CreditAttribution: Axel_V@drupal.org commentedsubscribed
Comment #11
encho CreditAttribution: encho commentedsubscribing
Comment #12
j-clark CreditAttribution: j-clark commentedsubscribing - thanks
Comment #13
belio CreditAttribution: belio commentedsubscribing
Comment #14
designerbrent CreditAttribution: designerbrent commentedsubscribe
Comment #15
josuealcalde CreditAttribution: josuealcalde commentedsubscribing
Comment #16
nmashruwala CreditAttribution: nmashruwala commentedsubscribing
Comment #17
aqua_linksunten CreditAttribution: aqua_linksunten commentedsubscribing - thx
Comment #18
moshe weitzman CreditAttribution: moshe weitzman commentedsubscribe
Comment #19
chadd CreditAttribution: chadd commentedsubscribe
Comment #20
Jerimee CreditAttribution: Jerimee commentedwhat is the current status of this?
Comment #21
KarenS CreditAttribution: KarenS commentedI just committed the very beginnings of this today. The Calendar args now seem to work when added to a regular view and I have the start of a plugin to display the calendar, but there's a fair bit of work to do and it is definitely not ready to use yet. I'm hoping to get a rough calendar implementation working in the next week or so.
Comment #22
davedelong CreditAttribution: davedelong commented*cough* subscribing
Comment #23
AaronCollier CreditAttribution: AaronCollier commentedInterested to see the results. Hope we can be of some use.
Comment #24
tobbe_s CreditAttribution: tobbe_s commentedLooking forward to calendar for D6. Thanks for putting in such an effort!
Comment #25
KarenS CreditAttribution: KarenS commentedIf anyone's interested, there is a very very rough implementation of the Views 2 calendar now in HEAD. It's alpha quality at best, but there is a default view that uses the node.changed date which provides a page and block version of the calendar that you can use to see how it looks.
Almost anything could change since I'm still trying to figure out the best way to set things up (since there are so many ways you can do it in Views 2), so don't expect anything you do with it to continue working the same way :)
Also, you need the latest Views 2 code since there is a fix in it that is required for this to work -- an re-implementation of 'even empty' that allows you to see a calendar even if there are no results found.
Comment #26
KarenS CreditAttribution: KarenS commentedThere is now a 6.2 beta release of the Calendar module which corresponds to a new 6.2 beta release of the Date module and the latest Views 2 code. There will be plenty of things to iron out, but please create new issues for items as you find them.
I've been able to take advantage of lots of the new features of Views 2 to simplify the code while adding lots of flexibility. There are templates for the year, month, day, and week displays, and for month, week, and day nodes, so you can easily style them differently.
More info about the new version from the PHP docs:
Comment #27
KarenS CreditAttribution: KarenS commentedBy the way, there is a default calendar view provided and I strongly suggest you start with that instead of trying to figure out how to build it from scratch :)
Comment #28
djtecha CreditAttribution: djtecha commentedHas anyone successfully imported an ical feed? If so how might one go about doing this on the latest version?
Comment #29
KarenS CreditAttribution: KarenS commentedThe iCal stuff is not working in the latest version yet, I'm focusing on getting the other parts working.
Comment #30
Jerimee CreditAttribution: Jerimee commentedI got this error:
Fatal error: Call to undefined function calendar_info() in /home/ncdponli/public_html/main/sites/all/modules/calendar/calendar.module on line 417
I tried to install the Calendar module on one site of a multi-site installation.
Comment #31
Jerimee CreditAttribution: Jerimee commentedI guess the beta version is broken, I'm going to try the dev version.
KarenS is saying that the function calendar_info() is a deprecated function and shouldn't be called.
http://drupal.org/node/262078
Comment #32
KarenS CreditAttribution: KarenS commented@jerime - The 6.2 version doesn't even have a line 417, it ends at line 341. That line was fixed on May 24, so you don't have the right version. And you're commenting in a fixed issue, so it is just an accident that I even saw it.
Comment #33
Jerimee CreditAttribution: Jerimee commented6.x-2.0-beta 2008-May-23 does in fact have a line 417 with the undefined function.
http://drupal.org/project/calendar
The dev version is the fixed version, the one in pink. The one in green is broken.
Comment #34
KarenS CreditAttribution: KarenS commentedThis issue says it is for "6.x-2.x-dev" not "6.x-2.0-beta" 6.2 beta is not the most recent code, the dev code is and that is fixed.
Comment #35
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.