Topic: LuxCal search default dates

Hi,

I often search into my LuxCal calendar, and I noticed default dates range for the search is : 1 year before and 1 year after.

Please, do you think I can change default dates range settings, to avoid changing dates manually each time ?

Thank you

Re: LuxCal search default dates

Hi there,

Do you need to be able to change the default date range each time (flexible), or do you just want to change it once?

I can send you a search.php script with a minor modification where somewhere in the heading of the file you can specify the default number of days to look back and the number of days to look ahead. Would that be ok?

If so, please tell me what LuxCal calendar version you are using (see top of the Settings page).

Roel

Re: LuxCal search default dates

Hi Roel,

If possible, I wish to change the default date range, but if necessary keep the ability to change the date range with the user interface.

Maybe a new feature request ?

I use latest LuxCal version : 4.7.9M

Thank you

Re: LuxCal search default dates

Hi FreeBe,

Send me your email address and I will send you a new search.php file with a minor change.

No need for a feature request. The next LuxCal calendar version I have already has the possibility to specify the default search date range on the admin's Settings page smile
The only problem for you is that this new version has not yet been released sad

Roel

5 (edited by Free_Being 2020-10-16 09:08:43)

Re: LuxCal search default dates

Hi Roel,

You bring very good news, thank you a lot smile

PS : I sent you my mail to yours wink

Re: LuxCal search default dates

Hi FreeBe,

I've sent you a modified search.php file by email.

Roel

Re: LuxCal search default dates

Hi,

Sorry for the late reply, I was too busy.

I was about to test your new search.php and I had a very nice surprise : new LuxCal 5.1.0 version today smile smile

Into new settings I found "Default days to search back/ahead" so now I can search far in the past by default wink

So : thanks a lot !