[EventCalendar] ec3_get_schedule

Alex Tingle alex at firetree.net
Wed Oct 24 17:03:39 UTC 2007


Hi Mark,

ec3_get_schedule() returns the HTML as a string. You want to print it 
out. So use...
   ec3_the_schedule()

regards,

-Alex

--
:: Let me solve your problems: http://www.firetree.net/alex/
:: alex.tingle AT firetree.net  +44-7901-552763

On 24 Oct 2007, at 10:27, Mark Naylor wrote:

> Hi guys,
> I am a regular user of event calendar on several blogs.
> I'm trying to use this fragment to show a schedule in my post.
>
>  <?php ec3_get_schedule('%s; ','%1$s %3$s %2$s. ','[ %s] '); ?>	
>
> (straight from the wpcal site)
>
> I have turned on the schedule in event calendar, so I get the default
> format schedule anyway. I have this fragment immediatley after the <div
> class="content_txt">
>
> I think that this means I should have 2 schedules (the effect I want 
> for
> now).
> That doesn't happen. There is no output from this statement at all.
>
> If I use <?php ec3_get_schedule(); ?>
>
> There is no output either. Am I making an error here?
>
> I just want to be able to use the statement so I can style the output.
> Previously I hacked the core files, but it is not elegant, and I want 
> to
> do it right :)
>
> The behaviour can be seen at 
> http://www.spondonoffroad.co.uk/Test/?cat=7
>
> Regards
> Mark
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list