[EventCalendar] Can't place date at desired place.

Alex Tingle alex at firetree.net
Wed Mar 7 22:26:16 UTC 2007


Daniel,

On Wed, 07 Mar 2007 09:24:25 +0100
"Daniel Artamendi" <wabkebab at hotmail.com> wrote:

> Ops, sorry...
> 
> // issue //
> 
> I'm trying get date followed by the finishing date on the all the post of 
> the loop.
> 
> Here is an entry snapshot:
> 
> http://www.herza.net/temp/entry.jpg


Why don't you just put the call to ec3_the_schedule() directly in your
template. Your solution seems like a lot of work.


> // What I tried //
> 
> i added a function to eventcalendar3.php:
> 
> function ec3_fecha($post_date)
> {
>   return $post_date . ec3_get_schedule();
> 
> }
> 
> and later
> 
> // Hook in...
> if($ec3->event_category)
> {
>   (...)
> 
>   add_filter('posts_where',  'ec3_filter_posts_where',11);
>   add_filter('posts_join',   'ec3_filter_posts_join');
>   // add_filter('the_posts',    'ec3_filter_the_posts',20);   Comented
>   add_filter('the_time',ec3_fecha'); // Added
> }
> 
> the date shows correctly but i finishing date not appears.

I don't know what the problem is. Have you tried something like...

 function ec3_fecha($post_date)
 {
   return $post_date . ' Hello world';
 }

-Alex

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



More information about the EventCalendar mailing list