[EventCalendar] Erase the time

Alexandre Kervalec pixelboss at hotmail.com
Wed Dec 6 01:07:09 UTC 2006




>From: "Alexandre Kervalec" <pixelboss at hotmail.com>
>Reply-To: Support for EventCalendar plugin <eventcalendar at firetree.net>
>To: eventcalendar at firetree.net
>Subject: Re: [EventCalendar] Erase the time
>Date: Tue, 05 Dec 2006 22:03:02 +0000
>
>
>
>
>>From: Alex Tingle <alex at firetree.net>
>>Reply-To: Support for EventCalendar plugin <eventcalendar at firetree.net>
>>To: Support for EventCalendar plugin <eventcalendar at firetree.net>
>>Subject: Re: [EventCalendar] Erase the time
>>Date: Tue, 5 Dec 2006 19:17:02 +0000
>>
>>On Tue, 05 Dec 2006 16:02:14 +0000
>>"Alexandre Kervalec" <pixelboss at hotmail.com> wrote:
>>
>> > Hi,
>> >
>> > I have succeed to do what I want. I use eventcalendar plugin to insert 
>>datas
>> > and my functions to display things by blocks : you can see it here :
>> > http://www.crht.org/matrice/
>> >
>> > Just a last problem : When I click on a title and arrive on the post 
>>itself
>> > (ex : http://www.crht.org/matrice/2006/12/05/test-2-lectures/) the 
>>dates are
>> > displayed automalicaly by eventcalendar (it's great). But I don't want 
>>to
>> > show the time. Where must I hack the plugin to suppress the time 
>>displayed
>> > here ?
>>
>>Set the default values of the parameters to ec3_the_schedule() in
>>eventscalendar3/template-functions.php
>>
>>-Alex
>>
>>--
>>:: Let me solve your problems: http://www.firetree.net/consulting/
>>:: alex.tingle AT firetree.net  +44-7901-552763
>>
>>_______________________________________________
>>Blog: http://wpcal.firetree.net/
>>EventCalendar at firetree.net mailing list
>>Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
>Thanks for your anwser. I have find another solution : I always mark the 
>radio box "All day" ! It makes disappear the times.
>But I have still a display problem. There is a mistake in the french 
>translation. When you have 2 dates you don't say : "20.02.2006 à 
>26.03.2006", you must say "Du 20.02.2006 au 26.03.2006" or "Le 20.02.2006" 
>if there is only one date. So I'm asking myself how to change this.
>
>I have looked in eventscalendar3/template-functions.php the function 
>ec3_get_schedule, but if I change something, it doesn't work anymore... :-x
>
>My last problem is that I want to display 2 custom fields UNDER the dates 
>in a post. They automaticaly go OVER the dates.... ?
>
>k now it is small problems but I'm near my target. If you are so kind to 
>help me again, thanks a lot. Thanks anyway because you have already much 
>help me.
>
>Pix
>
>_________________________________________________________________
>Découvrez un moyen pour éliminez tous les virus de votre PC ! 
>http://safety.live.com/site/fr-FR
>
>
>_______________________________________________
>Blog: http://wpcal.firetree.net/
>EventCalendar at firetree.net mailing list
>Unsubscribe: http://penguin.firetree.net/eventcalendar


I have found how to modify the display of the dates in a post. In 
eventscalendar3/template-functions.php change :

//define('EC3_DEFAULT_FORMAT_SINGLE','<tr><td colspan="3">%s</td></tr>');$

by

define('EC3_DEFAULT_FORMAT_SINGLE','<tr><td colspan="3">Le %s</td></tr>');

and

//define('EC3_DEFAULT_FORMAT_RANGE','<tr><td class="ec3_start">%1$s</td>' . 
'<td class="ec3_to">%3$s</td><td class="ec3_end">%2$s</td></tr>');

by

define('EC3_DEFAULT_FORMAT_RANGE','<tr><td class="ec3_start">Du %1$s</td>' . 
'<td class="ec3_end"> au %2$s</td></tr>');

And all is in a smarty french ! :-)

Always looking for the display order between eventcalendar3 dates and custom 
fields (catch by the plugin get-custom)....

_________________________________________________________________
Découvrez Live.com : le nouveau moteur de recherche par Messenger! 
http://www.windowslive.fr/livecom/




More information about the EventCalendar mailing list