Posted by apratt on October 21, 2008 at 7:14pm
Jump to:
| Project: | Availability Calendars |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
I am using this module for a ski lodge that really only wants to display the two months that rooms are available. I'm slowly clawing my way through the code. But on the off chance that someone has already figu'm posting the figured out how to do this I'm posting the request. I'm thinking a simple condition at the beginning of the table setup though it would be nice to have it set-able from the interface.
Comments
#1
That sounds like a sensible feature request, I hadn't really thought of that. I'd probably add a checkbox for each month to the options for that node (where you currently select the starting day).
#2
There can be a checkbox "From Date" which will change the calendar to start showing monthly calendars from the date we would enter. Otherwise it would start from today's date as it does currently...? apratt have you done something with this?
btw...great little module ;)
#3
Nope... It looks like if the snow doesn't stop the client that wanted this feature won't be in business. I swapped around some of the code to make it clear that it wasn't open at certain times and left it at that.
#4
It would also be nice to restrict the calendar. I want to use this only for availability on one day a week, namely Sunday.
Essentially, it would be the same thing as now, only Sunday would be the only included days.
#5
if this gets added it will be in 2.x branch 5.x no longer supported.
#6
With #306461: Custom availability states and legend you can add a state ''closed"? So does that issue solve the original question (being only open during the winter/summer season?
And does #306461: Custom availability states and legend solve the request of comment #4 (being only open during certain days of the week)?
if you really want to hide parts of the calendar, we need a different solution. But I'm not sure that not showing a calendar is better than having a calendar showing that the resource is being closed.
#7
#8
OK, apparently there is no longer any interest in this feature, so I'm closing the issue. If people need something like this I think they best can override one of the theme functions that this module uses to output the calendar.