Drupal: create a node with employee runtime
I have a bit of a challenge.
1. I need to create a node with employee time (it will be created for all users with the "employee" role), which looks like this:
Monday: From __ : __ To __ : __
Tuesday: From __ : __ To __ : __
Wednesday: From __ : __ To __ : __
etc.
So, I will need to create probably 14 CCK fields (monday_from, monday_to, tuesday_from ...) or more in order to store the day of the week and hours of operation (hours and minutes).
2. I need to add a view with open filters where visitors can filter employees by day of the week and business hours.
Which field should be used for working hours? How can the image filtering described above be defined?
Any suggestions are greatly appreciated.
Thanks!
+2
a source to share
1 answer
Why don't you take a look at the office hours . I don't know if you can use the exposed filters on it, but that should help you in the most part.
+1
a source to share