[EventCalendar] ec3_get_schedule format problem

Felipe Carvajal Molina felipe at futurista.cl
Mon Jun 18 05:01:48 UTC 2007


Please someone help us, i need the same, give different syles to time and 
date. thx.
----- Original Message ----- 
From: "Martin Christy" <martin at micrograde.com>
To: <eventcalendar at firetree.net>
Sent: Sunday, June 17, 2007 11:00 AM
Subject: [EventCalendar] ec3_get_schedule format problem


> Hi,
>
> I'm trying to construct the output of ec3_get_schedule() as a list. What 
> doesn't make sense though is that the *$format_single parameter seems to 
> get called for both the date AND time of an event, so generating a list 
> item for each.
>
> The code I'm using is:
>
> ec3_get_schedule('<li>%s</li> ','<li>%1$s %3$s %2$s</li>','<h3>Event 
> dates:</h3><ul id="event-schedule">%s</ul>');
>
> But you can see this problem even with the example code given *
>
> ec3_get_schedule('%s; ','%1$s %3$s %2$s. ','[ %s] ');
>
> This also treats date and time as separate - a semi colon appears after 
> both.
> Not setting the parameters and using the default table cells also creates 
> a separate row for date and time.
>
> Any ideas how to construct the arguments, or might this be a bug?
>
> I'm running this with WP 2.2 and EC 3.1.1RC1
>
>
> Many thanks,
>
> Martin
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 
> 269.9.0/852 - Release Date: 17-06-2007 8:23
>
> 




More information about the EventCalendar mailing list