ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

What to use for an Event calendar - events that span multiple days?

October 14, 2010 3:41pm

Subscribe [3]
  • #1 / Oct 14, 2010 3:41pm

    padstow

    101 posts

    Frustration!  I have a project in progress that needs an event calendar for events that span multiple days - mini calendar view and full month calendar view, customizable through CSS -  and I’d love advice from anyone who’s figured out a great way to do it! 

    Without Solspace’s calendar module available for EE2, I truly am at a loss….this really should be an easy thing?  I don’t want to throw the dirty word out there, but it seems like Wordpress has this covered in spades, and I shouldn’t lose a capability so common by upgrading to EE2.  Starting over on a different platform at this point is unfortunately not an option.  At this rate I’m happy to tell the customer they need to update the calendar separately from their event entries in EE just to have a solution!  Any advice would be hugely appreciated.

    Karen

  • #2 / Oct 14, 2010 5:14pm

    Benjamin

    116 posts

    A while ago i’ve made a calendar using the entry_date as first date of an event and expired_date as last date for the event in conjunction with the “start_on=”{current_time}” and “show_future_entries=“yes” channel parameter you can pretty much build a decent calendar with events spanning multiple days.

    Also note that Solspace’s Calendar will be available later this month according to this post: http://www.solspace.com/forums/viewthread/5805/

  • #3 / Oct 15, 2010 10:00am

    padstow

    101 posts

    Thanks for the reply, Benjamin!

    How do you get a single entry to span across several days on the calendar, though?  I have the parameters set up to show future entries and am using the Entry date as the start date, and the Expiration date as the end date, but the item is only appearing on the entry date on the calendar - what I can’t figure out, though, is how to have the link to the entry show up on all the days, from start date to expiration date?

  • #4 / Oct 17, 2010 9:32am

    Graham Huber

    217 posts

    I think everyone’s jonsing for Calendar for EE2. It’s almost “late October” now, so I hope we’ll see it either this week or next…

    Karen, can you post a code example of how you are showing the entries?

    If you’re using {exp:channel:entries}, one solution I can imagine would be to loop through each day for your calendar, and check for entries that have an “open” status for that day. You might need to use a little PHP for the loop.

    Another method would be to grab the entry date and the expiration date, and use a little PHP to calculate all the dates in between… You could store this in an array and then loop through it to build the calendar.

    Not sure which of those would be more efficient…

    OR you could wait a week or two and see if Solspace comes through on Calendar 2.0 😊

  • #5 / Oct 19, 2010 10:29am

    padstow

    101 posts

    Thanks Graham…  I wish I had the PHP background to be able to do either one of those options!  All I’m using now is ‘show future’ and ‘show expired’ on my channel entries, with the event start date and end date entered in the Entry & Expiration date fields. 

    I’d buy the Solspace team several rounds of espresso for an EE2 Calendar module sometime this week…  :cheese:

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases