[EventCalendar] How to format ec3_the_schedule()

Mark Naylor MarkNaylor at signet-solutions.com
Wed May 21 11:42:47 UTC 2008

your barking up the wrong tree trying to change the existing format within the plugin.
(been there done that)
I wrote the little guide for ec3_the_schedule and agrree that the examples could be better,
Try putting blanks in for the output of each one, when you get it just giving you raw data, then you have cracked it.
I have to fix this on my blog, but I have been ignoring it.
I'll have a go and let you know what the result is.

-----Original Message-----
From: eventcalendar-bounces at firetree.net on behalf of Unwork Studio
Sent: Wed 21/05/2008 10:35
To: Support for EventCalendar plugin
Subject: Re: [EventCalendar] How to format ec3_the_schedule()

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

Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4109 bytes
Desc: not available
Url : http://penguin.firetree.net/pipermail/eventcalendar/attachments/20080521/f8dfbed8/attachment-0001.bin

More information about the EventCalendar mailing list