meeting-room-booking-system / mrbs-code

MRBS application code
Other
124 stars 61 forks source link

Help with draggable / resizable bookings #1054

Open jberanek opened 11 years ago

jberanek commented 11 years ago

Can anybody help with disabling draggable / resizing bookings. We are a school and have been using MRBS for many years. Just updated to latest version and need to stop the pupils having this feature

Reported by: *anonymous

Original Ticket: mrbs/support-requests/311

jberanek commented 11 years ago

I think the easiest thing to do is to replace line 515 in js/resizable.js.php which should be

  if (function_exists('json_encode'))

with

  if (FALSE)

However I'd be interested to know the reason for not wanting to let the pupils resize bookings. I assume you still let them click on the booking and edit it in the conventional way? I could if you like add a config variable to enable/disable resizable bookings.

Campbell

Original comment by: campbell-m

jberanek commented 11 years ago

Cheers Campbell As a school we have used MRBS for many years for staff to book IT Suites / ICT Suport Time / Assemblies etc with great success. ( www.egglescliffe.org.uk - Staff - Room Booking ). The current project to to allow pupils to book support/help with their Year Volunteers ie homework club etc. For this I wish to only to allow them to book a single cell as required . I think that a config variable to enable / disable resizable/draggable bookings would be good idea.

Original comment by: *anonymous

jberanek commented 11 years ago

Are you OK for your students to have the ability to create new bookings by selecting a group of cells? Don't know if you've come across that feature yet but you can select a rectangle of empty cells in the day and week views and when you release the mouse the booking form automatically has those times/rooms entered.

Campbell

Original comment by: campbell-m