All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Calendar Tag

vlad 30 Aug 2012 13:09 question, complete

Hi Low,

Is there a way to show multi day events on the calendar?

exp:channel:calendar switch="calendarToday|calendarCell" channel="{segment_1}" show_future_entries="yes"

Thank you :)

Replies

  1. Low 30 Aug 2012 13:12

    Multi-day events will appear on each of their days in the Calendar. That is to say, if an event takes place from August 25 to August 27, August 26 will have 1 event assigned to it (if no other events happen then).

  2. vlad 30 Aug 2012 13:21

    So the calendar will have events listed for all 3 days?
    Like the google calendar.

    So lets say there is 2 events.
    1. event 1 ... Aug 15 - 17
    2. event 2 ... Aug 16

    So on ee calendar how will this be displayed?

    Aug 15 ___ Aug 16 ___ Aug 17
    event 1 ___ event 1___ event 1
    ------------- event 2 -------------

    or

    Aug 15 ___ Aug 16 ___ Aug 17
    event 1 ___event 2 ___ event 1
    ------------- event 1-------------

    Let me know, Thank you.

  3. Low 30 Aug 2012 13:25

    Actually, the Calendar tag will not display events themselves. It will just have a {events_on_day} variable containing the amount of events active on that day. Displaying events themselves only works with {exp:low_events:entries}.

    So, in your case, that would return 1 on Aug 15, 2 on Aug 16, and 1 on Aug 17.

    If you want to display entries in the Calendar table itself, you'd have to use both the Calendar and Entries tags, and use JavaScript to move the event entries to the Calendar table, like Jamie Pittock managed to work out.

  4. vlad 30 Aug 2012 13:33

    Ok so now on my calendar I get this:



    I am looking to show a multi-day event for each day its happening.
    What happens to the calendar now? Out of the box not an option?

  5. Low 30 Aug 2012 13:44

    Well, it doesn't show the events itself for each day out of the box at the moment, so you'd have to get creative. Now, it will only allow you to create a link to the day itself. Kind of like the Archive Month Links tag, but in Calendar format.

  6. vlad 30 Aug 2012 18:08

    Ok thanks for explaining, in this case a modified google calendar will be a good match. But always appreciate your time and patience.