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

Kjell Knudsen kjell at langvass.org
Tue Dec 18 07:29:05 UTC 2007


Not making sense to me either, but I do suspect there is some PHP very
logical reason for this... I'll just skip the widget version of this for now
and follow your suggestion of code right in the toolbar.

Have tried most everything and can see any other changes I made instantly,
just not the brackets dissappearing...

thanks

-kjell

On 12/17/07, David Nolan <david.nolan at celtic-irish.co.uk> wrote:
>
> Well, that just doesn't make sense.
>
> I don't know much about the plugin (or php) - as you can tell from the
> other emails I 've sent.
>
> Sorry I don't have a clue - but I'd just check again.
>
> I'd just make sure that the correct template file was on the server. Are
> you logged in? Is there cache? Might the plugin need to be deactivated then
> reactivated? The brackets shouldn't be showing!
>
> On 17/12/2007, Kjell Knudsen <kjell at langvass.org> wrote:
>
> > 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
> >
> >
> > _______________________________________________
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20071218/721dd2a3/attachment-0001.htm


More information about the EventCalendar mailing list