timetable for office hours drupal module
exception days calendar

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This Project extends the Office Hours Project to cover these requirements:

  1. new office_hours widget: graphical office_hours timetable(no more thousends of dropdowns) - this is build with jquery selectable
  2. new additional field of type date & widget for selecting multiple exception dates. The provided widget is a yearly calendar
  3. an administration backend to define profiles for exception dates, so you dont have to select all the christmas dates on every "office" per hand.

Usage

Timetable Widget

Add a field of type office hours. Besides the original widget you can now choose the timetable widget. In this widget you have a matrix with all available timeslots, as defined in your field settings. You can select single slots by clicking it or drag a rectangle to select an area with slots. There are two Buttons to change between adding and removing mode. In removing-mode you can likwise click or drag to remove slots.

Dates Exceptions Field and Widget

This adds a new field type and a widget for this field. Its intended for use as helper to organize special close-days for offices. Because this is not possible within a weekly timetable. The widget shows a yearly calendar where you can select days by clicking and deselect by simply clicking again. you can select longer periods by normal(left) click on day and right click(or shift left click) another day after that.
Besides this direct selecting of days you can define some presets like christmas or easter-hollydays in the date-api settings page.
these profiles you can activate (unhide this functionality by click on profile button)
At the moment there is no formatter for these field, because i personally need this only for internal calculations, but its absolutly useful to build an advanced office hours formatter which respects this close-days, or at least show upcoming close days as a formatter. patches are welcome.

i will use this for a real project, and when its stable enough i will publish it to the wild.

Dependencies:
office_hours
jquery_update (only for exception calendar field)
>choose v1.7 min

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Module categories: Site Structure
  • Created by phoehne on , updated