Skip to forum content
LuxCal Web Calendar
The place for news, questions and suggestions
You are not logged in. Please login or register.
Active topics Unanswered topics
Post new reply
Post new reply
Compose and post your new reply
You may use: BBCode Images Smilies
All fields with bold label must be completed before the form is submitted.
Topic review (newest first)
Hi Berns,
On line 155 of the "common/dtpicker.jd" file, in the for-statement, the variable i is compared to the minimum of dwEndH and 23. See code below:
for (var i = dwStartH; i <= Math.min(dwEndH,23); i++) {
It is this dwEndH. If it is set to 20 (on the Settings page), the time picker should stop at 19.45.
Note: After each dtpicker.js file change refresh the browser page (Ctrl-F5) to clean the cache.
Hope this helps.
Roel
Thank you so much Roel!
I tried to change the mentioned line already, but i did not reload the site propper - now it works
But I have a last question:
I set the end of the day to 4 p.m. The calendar shows this correctly, but the timepicker shows an hour more ???
Would be nice if you have a tip on how I can change that.
Thanks in advance again!
Berns
Hi Berns,
The time picker can be found in the "common/dtpicker.js" file (lines 135 - 185).
The time interval of 15 minutes is determined by the condition in the for-loop at line 160.
If you need help, I can modify the time-picker for you. In this case you should tell me in detail what it should look like. And be aware that the total time picker box can not be much bigger, because there is not much room left.
If you want me to do it for you, drop me an email, so that I can send you a modified file.
Roel
Hi, is there a way to change the time picker interval from 15 to 5 minutes in the event page? I use a fixed appointment time of 20 minutes, which can not be selected within an 15 minutes-intervall.
Where is the 15 minutes-intervall calculated? I cannot recognize it in the timepicker function.
Unfortunately I am not so good at JavaScript, I am rather in php...
I'm using zhe latest version of LuxCal (4.7.8).
Thanks in advance!