Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: defined length events  (Read 452 times)
0 Members and 1 Guest are viewing this topic.
Paddy
Guest
« on: December 01, 2002, 02:22:00 PM »

Hi, is it possible to set up defined (and unalterable) length events (ie say 30 minute blocks or multiples of 30 minutes) for instance when booking a resource?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: December 01, 2002, 06:59:00 PM »

** multiples of 30 minutes **

You may be able to change the minutes textbox form field in the schedule_event_non_recur.html and schedule_event_recurring.html admin templates to a select form field with options of only "00" and "30". Right now those fields look like:

<INPUT TYPE="text" NAME="SCHEDULE_end_time_mm" SIZE="2" MAXLENGTH="2" VALUE="<%=$_end_mm%>" onFocus="" onChange="return onChangeTime(this,'mm');">

You'd likely have to change the JavaScript validation routine to handle the field type changes as well.

Dan O.

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #2 on: December 03, 2002, 08:43:00 PM »

I was just reading up on TubaDave's "No Overlap" plugin and it might do what you want. You can find it at the Unofficial CalendarScript - Mods and Plugins! site at the following link: www.much2.com

Dan O.

[This message has been edited by DanO (edited December 03, 2002).]

Logged
Paddy
Guest
« Reply #3 on: March 13, 2003, 06:42:00 PM »

Hi, thanks for that, the nooverlap plugin may do just what I want, I am slowly getting to grips with  editing templates etc, so a plugin is preferable to tweaking the javascript!
thanks again
Logged
Pages: [1]   Go Up
Print
Jump to: