Add after line 386 of templates/reserve.template.php:
if ($interval == 15) { $interval = 45; }
Thanks for the quick reply...almost works. Only this puts the the correct time sometimes in the starttime slot and sometime in the end time slot. If the start time is 12.45 the end time will be 9.00 and you still have to pick the correct time. Or the endtime will be 13.15 and the starttime 9.00.
What I wanted to do was to try to find a workaround for the 45 min problem. This will still work (with the 15 min setup) if there is a way to leave the starttime as it is so that if I pick 10.15 it will stand there and then I wanted the program by "default" just to add 45 min to the chosen startime. So the end time in this case would be 11.00 even though there are 15 min timeslots.
To make it short...is there a way to
Do one of two things in a setup with 15 min timeslot.
1. Take startime chosen from the main shedule.
2. Add 45 min by default
3. Show startime and endtime in new reservation window (Just as it does now)
or
1. Take endtime (since I have a 15 min setup it will automatically suggest endtime= startime +15 min)
2. Add 30 min extra to endtime by default
3. Show startime and endtime in new reservation (just as it does now)
If this gets too complicated or will take too much of your time feel free just to tell me off.
Thanks a lot again....
- diap