Forum for discussing general topics related to Couch.
9 posts Page 1 of 1
In a web proyect lease houses need a calendar for the client choose the date of booking and show only dates available. How can I do this with couchcms?
Thanks!
Hi,

Yes, it can be done (in fact I helped in one such projects recently).

We tweaked the 'calendar' feature of Couch to get it done.
Each 'booking' was a cloned page where the publish-date marked the 'start' day of booking and we had another date field to mark the 'end'.

However, let me say that, it won't be straightforward and will require some PHP also.
The reason is that a booking can run into several days - potentially spanning across months.
This requires PHP to figure out the days that are do be shown unavailable on the calendar.

If you could share with us the full details of how your booking system is supposed to work, maybe we'd be able to suggest something concrete.

Thanks.
KK wrote: Hi,

Yes, it can be done (in fact I helped in one such projects recently).

We tweaked the 'calendar' feature of Couch to get it done.
Each 'booking' was a cloned page where the publish-date marked the 'start' day of booking and we had another date field to mark the 'end'.

However, let me say that, it won't be straightforward and will require some PHP also.
The reason is that a booking can run into several days - potentially spanning across months.
This requires PHP to figure out the days that are do be shown unavailable on the calendar.

If you could share with us the full details of how your booking system is supposed to work, maybe we'd be able to suggest something concrete.

Thanks.


Thank you very much for the reply. It is exactly like this site or template
http://themes.quitenicestuff.com/sohohotelwp/
The guest checks in, then check out, click check availability and the site will show you the available rooms.
I have a little knowledge of php, so I hope to do.
Thank you very much again!
It's somewhat off topic, but it would be neat to have a calendar-style listing in the admin panel. It would make displaying this type of event data more informative.
@patriciodilet - thanks for the link. I had a look.
While it certainly can be built, it is more of a full-fledged "vertical" application and would require quite a bit of effort.

This seems to be one of those projects where using a pre-built domain specific script would be more pragmatic.

@cheesypoof - I agree and wonder if we cannot just use the 'custom admin-screens' feature for this?
KK wrote: @cheesypoof - I agree and wonder if we cannot just use the 'custom admin-screens' feature for this?
Certainly @KK; the calendar tags would make this easier to accomplish. I wonder if people who would benefit from this type of admin panel list view would actually opt to take that route though... They may not be aware of the admin-screens feature or be willing to develop and style the relevant calendar components. This isn't a priority by any means, so perhaps much later down the road once the backlog clears significantly, we give this another look. Google Calendar could serve as an example (https://upload.wikimedia.org/wikipedia/en/7/79/Google_Calendar_screenshot.png).
Are you guys talking about something new coming to Couch?

"custom admin-screens"

Or is this a feature already available

Alex
Are you guys talking about something new coming to Couch?

"custom admin-screens"

Or is this a feature already available

@Alex, this feature comes bundled with the 'DataBound Forms'.

You can find more about it in the docs at
http://www.couchcms.com/docs/concepts/d ... forms.html
Please search for the 'Custom admin screens' heading.
I use couchcart as a booking script on one site, would be nice to find a way to easily connect it to calander so the calander shows the title on the date.
9 posts Page 1 of 1