[EventCalendar] How to format ec3_the_schedule()

Unwork Studio studio at unwork.co.uk
Wed May 21 09:35:01 UTC 2008


Thanks for replying ...

I've read the documentation and also spent many hours trying to change  
the output but this does not seem to make any difference to the fact  
that it splits the date and time onto separate lines:

define('EC3_DEFAULT_FORMAT_SINGLE','<tr><td colspan="3">Event Date/ 
Time: %s</td></tr>');

This does not happen with the range format which works fine:

define('EC3_DEFAULT_FORMAT_RANGE','<tr><td class="ec3_start">Event  
Start Date/Time: %1$s</td>'.'</tr><tr><td class="ec3_end">Event End  
Date/Time: %2$s</td></tr>');

Even if I paste the range code into the singe code it still splits the  
output onto 2 lines exactly as before. I'm stumped!



  This does not happen with the format range
On 21 May 2008, at 08:54, Mark Naylor wrote:

> http://wpcal.firetree.net/2007/10/25/ec3_the_schedule/
> You can find the details at the bottom.
> -----Original Message-----
> From: Unwork Studio <studio at unwork.co.uk>
> Sent: 21 May 2008 02:00
> To: eventcalendar at firetree.net <eventcalendar at firetree.net>
> Subject: [EventCalendar] How to format ec3_the_schedule()
> Hi Everyone,
> I'm have a frustrating problem with the date formatting in the event
> post. I've altered it to suit my needs if the event spans several days
> or if it is an all day event, however if it is an event with no end
> time ($format_single) it puts the time in a separate <td> tag. To
> illustrate my point;
> http://www.unwork.co.uk/tetsudo/?p=45
> I've tried everything I can think of to tinker with the code with no
> luck. I assume the offending bit is this;
> define('EC3_DEFAULT_FORMAT_SINGLE','<tr><td colspan="3">%s</td></ 
> tr>');
> Unfortunately the documentation doesn't really explain how the ''%s"
> works - anyone have any ideas?
> The result I am looking for can be seen here;
> http://www.unwork.co.uk/tetsudo/?p=47
> Thanks,
> Jason
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar

More information about the EventCalendar mailing list