0

for our NPO we need the following feature: We have a bar, hotel and restaurant, and there are some fixed shifts ie. 7am to 12am, 12am to 7pm and so on, the whole week;

  • People enter their wanted work shift themselves;
  • There has to be an overview what shifts are set and which ones miss workers. A table for the current and next week, coloured with the user names;

I thought about a custom content type in a module, where the time (start, end) are set by the admin and can be changed from time to time. On click in the calendar resp. the overview panel, the node is prepopulated with auto_title and the times and the entityreference to the user.

And ideas if there is a view plugin which could do the overview, or do i need to code that myself?

I am aware of : shift_scheduler module (sandbox)

2
  • I think a custom entity type sounds more appropriate than a custom content type for your needs.
    – Felix Eve
    Apr 30, 2014 at 15:05
  • thx for the input you both, I am checking loads of nice modules and possibilities these days. Hopefully I remind to come back to you here asap. May 4, 2014 at 18:03

1 Answer 1

0

Maybe you are aware of the calendar module https://drupal.org/project/calendar It has a very nice integration with views, and you could create a calender from template for a specific content type that has date fields in seconds (that generates also a view of it per week). Of course for the case you have described you will need custom coding, surely the Drupal Ajax Framework and some other stuff... but that sounds more like fun :)

1
  • thanks for your suggestion, I am still into this issue, and try and learn a lot. So I leave the question open. May 29, 2014 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.