[EventCalendar] All Day event not use the words "All Day"?

Kjell Knudsen kjell at langvass.org
Wed Dec 19 12:16:46 UTC 2007


Hi Chris and David,

Sorry for the bother.

I found the problem (after  I saw that changes to line 332 had no effect
what so ever) - the additional plugin ec3_past_events which I have installed
also defines EC3_DEFAULT_TEMPLATE_EVENT . As it comes later in the logic it
had precedence over whatever I'd do in template-functions.php

Thanks very much for the help!

-kjell


On 12/18/07, Chris <chris.hearn01 at ntlworld.com> wrote:
>
>  Hi David, Kjell,
> To remove "(all day)" in Upcoming Events:
>
> If you dont want to show any text at all, JUST change
> template-functions.php, line 332 to:
> define('EC3_DEFAULT_TEMPLATE_EVENT','<a href="%LINK%">%TITLE% </a>');
>
> There are two bits that affect "all day" in the upcoming events, both in
> template-functions.php
> 1) the text "all day" is set in line 347:
> if($entry->allday)
>           $data['TIME']=__('all the day','ec3');
>
> 2) the brackets _and_ text set above are added by this define here:
> define('EC3_DEFAULT_TEMPLATE_EVENT','<a href="%LINK%">%TITLE%
> (%TIME%)</a>');
> so the default shows the text you set in step 1) above, surrounded by the
> brackets.
>
> Best Regards
> Chris
>
>
>
>
> --
>  ********************************************************************** Chris
> Hearn *Tel:* 01625 827589 *Mob:* 07768 725141 *email:*
> chris.hearn01 at ntlworld.com **********************************************************************
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged material.
> Any review, retransmission, dissemination or other use of, or taking of
> any action in reliance upon, this information by persons or entities other
> than the intended recipient is prohibited. If you received this in error,
> please contact the sender and delete the material from any computer. **********************************************************************
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20071219/e1643b9e/attachment.html


More information about the EventCalendar mailing list