Topic: Use of Displays

Hi guy's,

Thanks a lot for this powerful tool !
Is it possible to use diplays, while setting the period displayed ?
In the demo page, the example shows at least 2 months, but in my calendar, I can only see 1 week.

thank you in advance for your help wink

Re: Use of Displays

Hi there,

Yes, you can specify how far the display should look ahead.
If not done already, copy the file displayX.cnf from the "configs/samples" folder to the "configs" folder (X is the display number you are using).
Now edit the copied file displayX.cnf and change the $tillDate to for instance "MONTH+10". Done!

You can find a description of the configuration parameters in the document www.yoursite.xxx/yourcalendar/configs/displays.html

Roel

3 (edited by windo 2022-09-20 12:34:28)

Re: Use of Displays

Hi Roel,

Thank you for your answer, but I cannot find the $tillDate in file display0.cnf.
The document displays.html talks about the general settings but do not detail their location.
Do I have to add this variable in display0.cnf ? in order to supersed the default value ?

Thx
Dominique

Re: Use of Displays

Hi Dominique,

For display1.cnf, display2.cnf and display3.cnf it's on line 6 and it looks like this:

$tillDate = "MONTH+1"; //till date

If you still can't find it, send me an email, and I will make a screenshot.

Roel

Re: Use of Displays

OK, I didn't read the file Calendar/configs/displays.html untill the end...
It is now OK.

Thank you a lot Roel wink
It works fine !