One piece of the office hours puzzle not implemented in the latest dev version is inclusion of any sort of selectable day names. Though implemented in previous versions, it should probably make some sort of comeback, and here's one reason why...
When creating the hours for a business, it would be far simpler for a user, if admin-defined non-numerical based presets existed.. for day select, examples could be popular day groupings like:
- Mon-Fri
- Sat-Sun
- Daily
- etc..
These would be admin configurable to suit the needs of the site, and can save considerable amounts of repetition for users.
The same could also apply to the hours selection (though it fit far better into the single dropdown mentality that existed some months ago)
- Closed
- Appointment Only
- etc..
Again, these would be admin configurable to suit the needs of the site. Though it makes sense that "closed" would simply be where there are no hours, it is far more clear when displaying the output when an office is closed, than trying to guess based on lack of information. (This is also how users tend to think when entering or being given hour data.)
The idea of these two customizations is to heighten the extensibility of the module without boxing anyone in to incredibly strict guidelines that offices/businesses don't always find themselves conforming to. All of this would require some moderate changes to current UI to even start to work, and some generous table schema adjustments.
Any suggestions positive or negative would be greatly appreciated.
Comments
Comment #1
miklI think what you're describing is a bit beyond the scope of this module. While custom statuses for days might be an interesting thing to implement, the custom labels is going to be quite hard to manage, since that would call for a very different data model that would make it neigh-impossible to operate on the data programmatically, say to give an indication whether the store is open _right now_.
Comment #2
bomarmonk commentedYou might be able to pull this off with date, cck 6.3 (content multigroup-- experimental), and/or a field group.
Comment #3
johnv1. The grouping option is available (not yet in D7-version)
Go to your content type, choose tab 'Manage display' and switch the formatter from 'default' to 'grouped'.
2. See this feature request: #1119406: Add a "description" feature I think it fits your use case.
Comment #4
johnvPlease reopen if you think #3 is not correct.