[EventCalendar] Show end dates of multi-day events

Joern Kretzschmar joern at diekretzschmars.de
Wed Nov 29 19:30:41 UTC 2006


Hi,

i need to find out a way to show the end-date of multiday-events. I use

        <?php if (function_exists('ec3_get_events')) {
        ec3_get_events(
        '100',                                           // limit
        '%DATE%: <a href="%LINK%">%TITLE% (%TIME%)</a>', // template_event
        '',                                              // template_day
        'D, d.m',                                           // date format
        '%MONTH%:'                                       // template month
        );
        } ?>

in a template to show a list of all events.

This is how it looks like:

Februar 2007:

    * Do, 01.02: Halbjahresferientage (ganztägig)
      <http://loensschule.einbeck-online.de/?p=65>
    * Mi, 07.02: Dienstbesprechung (00:00)
      <http://loensschule.einbeck-online.de/?p=66>
    * Do, 15.02: Elternsprechtag 6/8/9 (16:00)
      <http://loensschule.einbeck-online.de/?p=67>
    * Mo, 26.02: Praktikum 9. Klassen (ganztägig)
      <http://loensschule.einbeck-online.de/?p=68>

If a event last more than a day i want it to be shown as: Mon, 26.02 - 
Tue, 27.02.

Is this possible?

Jörn




More information about the EventCalendar mailing list