mycalendar plugin and longer events
mycalendar plugin and longer events
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
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: mycalendar plugin and longer events
Hi!
I think this should be easily doable. Could you edit the serendipity_plugin_mycalendar.php file and simply replace this line:
with:
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
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;
Code: Select all
$filter = "WHERE eventdate2 > " . $timeout;
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: mycalendar plugin and longer events
It works. Thank you very much!
Regards,
Jutta
Regards,
Jutta
-
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
Re: mycalendar plugin and longer events
Did you find the time for an update meanwhile?garvinhicking wrote:If that works out for you, I can update the plugin!
Ciao, Stephan
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: mycalendar plugin and longer events
Hi!
Just committed it.
Just committed it.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
Re: mycalendar plugin and longer events
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?
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?
Ciao, Stephan
Re: mycalendar plugin and longer events
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
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