[EventCalendar] All Day event not use the words "All Day"?
Kjell Knudsen
kjell at langvass.org
Mon Dec 17 09:55:15 UTC 2007
At first I had that, but upon re-reading the post I realized it said to only
remove the brackets. So now it reads
define('EC3_DEFAULT_TEMPLATE_EVENT','<a href="%LINK%">%TITLE% %TIME%</a>');
And then later in template_functions.php I changed, as per instructions, the
result of time to be empty if an allday event.
if($entry->allday)
$data['TIME']=__('','ec3');
however … with the same result it appears to me.
-kjell
------------------------------
*Fra:* eventcalendar-bounces at firetree.net [mailto:
eventcalendar-bounces at firetree.net] *På vegne av* David Nolan
*Sendt:* 15. desember 2007 18:25
*Til:* Support for EventCalendar plugin
*Emne:* Re: [EventCalendar] All Day event not use the words "All Day"?
Did you actually remove the "(%time%)" originally? Including the brackets?
Does it now read
define('EC3_DEFAULT_TEMPLATE_EVENT','<a href="%LINK%">%TITLE%</a>'); ?
Regards David
On 15/12/2007, *Kjell Knudsen* <kjell at langvass.org> wrote:
Thanks David,
I'll probably resort to that in the end, but I was originally trying to
implement this through the widget system (to be theme independent).
The widget originally had (all day) for all day events, and then Chris had
suggested that solve for it mentioned in the link which should remove it.
Thanks,
-kjell
On 12/14/07, *David Nolan* < david.nolan at celtic-irish.co.uk> wrote:
Is it the ec3_get_events listing that you want to change?
If so, you could just use:
<?php
ec3_get_events(
5, // limit
'<a href="%LINK%" title="View Event">%TITLE%</a>',// template_event
'%DATE%:', // template_day
'D j F Y' // date_format
);
?>
More details here:
http://wpcal.firetree.net/template-functions/ec3_get_events/
When it lists on my events posts it doesn't show "(all day)" - just the day
so thats why i'm not sure what you're trying to do
Regards
David
On 14/12/2007, *Kjell Knudsen* < kjell at langvass.org> wrote:
Hi there,
Thanks for great plugin!
i've tried to follow the instructions in
http://wpcal-archive.firetree.net/2007-July/002177.html
but now it leaves me with a parenthesis at the end of the event title.
I've tried to play around a littlebit in the template-functions.php
... removing %TIME% completely, but it just doesn't seem to solve it.
I'm trying to implement this in the left menu bar at
http://v2.clusterprocess.org
any hints?
-kjell
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
--
Help raise funds for our community events by visiting
http://www.celtic-irish.co.uk/shop
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
--
Help raise funds for our community events by visiting
http://www.celtic-irish.co.uk/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20071217/95e42c98/attachment.html
More information about the EventCalendar
mailing list