Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Is it possible to configure GCal Events to display the end date as well as the start date of the event?
Comment | File | Size | Author |
---|---|---|---|
#6 | gcal_events_50.patch | 3.19 KB | jdwfly |
#9 | gcal_events_51.patch | 4.25 KB | jdwfly |
Comments
Comment #1
Se7enLC CreditAttribution: Se7enLC commentedit's not currently possible, but it should be a trivial change to add that. That feature will definitely be in a later release as soon as I find time to code it in.
Comment #2
frednwright CreditAttribution: frednwright commentedThanks Se7enLC!
It sounds silly, but I have several clients who love the module, but they all want the end date to display as well. It's a great module and I'm encouraging people who use it to buck up and donate.
Fred
Comment #3
Se7enLC CreditAttribution: Se7enLC commentedCheck out the latest CVS revision of gcal_events.module - I just added in simple support for #ENDTIME# is that what you're looking for, or do you want an end-date as well?
Comment #4
frednwright CreditAttribution: frednwright commentedHey Se7enLC!
Thanks for the update - I am indeed looking for an "end date" variable, but the #ENDTIME# variable is incredibly handy as well.
sorry for the delay on responding - I just got back from a trip and saw your post.
fred
Comment #5
jdwfly CreditAttribution: jdwfly commentedI need this functionality as well. I am currently working on it and hopefully will have a patch soon.
Comment #6
jdwfly CreditAttribution: jdwfly commentedI have never made a patch before so I hope this works. I used the endtime that was already made to extend functionality for all day events spanning multiple days. With the proper templates you can have multi-day events.
Check this out and tell me what I did wrong. :)
Comment #7
Se7enLC CreditAttribution: Se7enLC commentedLooks like a good patch! I didn't try to apply it, yet. I just looked over it quickly. I'll put that in cvs once I get time to test it out. Good call on making endtime only include the date when the event is > 1 day, I think that will probably handle most people's needs.
Comment #8
jdwfly CreditAttribution: jdwfly commentedI am having a slight issue, but I am not sure that it is related to what I have done.
I have an event that is 3/5/09 - 3/6/09, but I can't get it to show up as the multiple days. It only shows the 3/5/09. Any ideas?
Comment #9
jdwfly CreditAttribution: jdwfly commentedFigured it out. I was using a variable that had not yet been defined. So I moved that earlier in the loop and here is the new patch.
Comment #10
jdwfly CreditAttribution: jdwfly commentedThere seems to be some faulty logic in this because I am having an issue where it is still showing the end time when the event is a single day. I will be working on this today and should have a fix out soon.
Comment #11
jdwfly CreditAttribution: jdwfly commentedOuch, should have committed this long ago. Anyway, bumping to 7.x and then I will back port it to 6.x.
Comment #12
jdwfly CreditAttribution: jdwfly commentedcommitted to 7.x