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
Comment #1
geodaniel commentedThat 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).
Comment #2
gulliverrr commentedThere 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 ;)
Comment #3
apratt commentedNope... 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.
Comment #4
randyesq commentedIt 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.
Comment #5
nicholas.alipaz commentedif this gets added it will be in 2.x branch 5.x no longer supported.
Comment #6
fietserwinWith #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.
Comment #7
fietserwinComment #8
fietserwinOK, 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.