Page 1 of 1
mycalendar plugin and longer events
Posted: Fri Nov 06, 2009 10:13 am
by ju
I use mycalendar plugin on
www.queernews.at to announce events. It works fine, but I have a problem with events that last longer than one day - eg from November 4th to November 8th. It only shows before and on Nov. 4th. When the day is over, it gets offline. So either I have to update it every day or I have to keep old events online for some days (which will make the list long and confusing because it shows events that are over). Would be nice to have a solution in a future version

Re: mycalendar plugin and longer events
Posted: Fri Nov 06, 2009 7:53 pm
by garvinhicking
Hi!
I think this should be easily doable. Could you edit the serendipity_plugin_mycalendar.php file and simply replace this line:
Code: Select all
$filter = "WHERE eventdate > " . $timeout;
with:
Code: Select all
$filter = "WHERE eventdate2 > " . $timeout;
This should use the end-date instead of the start-date as the filtering point. If that works out for you, I can update the plugin!
Regards,
Garvin
Re: mycalendar plugin and longer events
Posted: Sat Nov 28, 2009 9:01 am
by ju
It works. Thank you very much!
Regards,
Jutta
Re: mycalendar plugin and longer events
Posted: Mon Nov 30, 2009 12:33 am
by stm999999999
garvinhicking wrote:If that works out for you, I can update the plugin!
Did you find the time for an update meanwhile?
Re: mycalendar plugin and longer events
Posted: Mon Nov 30, 2009 9:37 am
by garvinhicking
Hi!
Just committed it.
Re: mycalendar plugin and longer events
Posted: Tue Dec 01, 2009 7:46 pm
by stm999999999
hi,
in the backend should made a similar patch, I think.
So that the "delete me" button is not dependend from eventdate but eventdate2, too.
and perhaps in the layout, the button could be after the eventdate2 field?
Re: mycalendar plugin and longer events
Posted: Fri Jun 11, 2010 2:05 am
by polydream
Hi, I have an other problem with this plugin.
I use it to display aevents but the description of the event is never shown.
I can enter it while im making the post but it doesnt show up anywhere.
And maybe there is an option to link it to the post automaticly?
Thanks