Page 1 of 1

Calendar_XH older date deleted

Posted: Fri Mar 29, 2019 5:49 pm
by bastingse
Is it an option to build in the Calendar_XH plugin, that if an event is added to the calendar that it will be deleted automaticly when that date is passed??

Re: Calendar_XH older date deleted

Posted: Fri Mar 29, 2019 7:55 pm
by Tata
What is the reason for that? The "old dates" aren't shown anyway. The files in which the infos are stored are - even with many events - not that big. OTOH, the calendar can whenever be used also as a kind of chronicle. I am afraid deleting some lines in these files won't be that simple.

Re: Calendar_XH older date deleted

Posted: Sat Mar 30, 2019 12:03 pm
by bastingse
When using this function:

Code: Select all

{{{events()}}}
Then old dates are showing on that page

Re: Calendar_XH older date deleted

Posted: Sat Mar 30, 2019 12:43 pm
by frase
In the configuration, you can set which events from the past should be displayed.
"Number of previous"

Re: Calendar_XH older date deleted

Posted: Sat Mar 30, 2019 12:53 pm
by Tata
Even with this function, only the actual or future months are shown, when

Code: Select all

	$calendar_cf['show_past_months']="";
The events from "yesterday" are greyed.

Re: Calendar_XH older date deleted

Posted: Mon Apr 01, 2019 12:56 pm
by bastingse
Amazing!!
It works! Thank you folks!!
Much appreciated!!