Recently Browsing 0 members
No registered users viewing this page.
the user can fill a form with two dates. when submitted, data will be saved as a page (unpublished) with these two date-fields.
then admin can publish the page.
is there a way just to output an overview of a year (screenshot) with all days having classes like free or reserved?
I’m building a simple ticket booking system for our events. I’m considering two different solutions:
The first approach is creating one page per ticket and a reference to a booking page with the contact info. This should be faster when checking for ticket availability by using $pages->count().
The other one is a one page per booking with an integer field holding the ticket quantity. Downside is having to use $pages->find() but only having to create one page per booking with the API.
My biggest concern is listing the events and the ticket availability for each event, loading all bookings.
At the most one event has 300 bookings.
Any ideas are welcome.
By Marco Angeli
Hi there processwire people,
this may sound obvious to most of you but not for me : )
I'm dealing with a booking form for a trip site.
I want the user to choose destination first (a select: let's say Venice, Rome and Hamburg);
Based on her choice, there will be days available (23 of august, 27 of september)
Based on the day, another select will show available times (e.g. 9.30, 15.30 and so on)
What should I do? Custom php or Form Builder? (I would prefer the latter...), and most of all: how to build a system like that?
Has anyone any experience making a dynamic calendar:
person visits site and can see a calendar with some days marked as taken and others as free
person clicks a day and is allowed to fill a form to book the whole day
next person visiting sees that previously free day is now booked and so can't book that one
I am actually using the Form Builder to collect bookings but that only gets the data in to PW for me, what I don't know how to do is:
have recorded entries show as booked days in a calendar
have logic to stop people booking already booked days
Any comments most appreciated, cheers!
PS: there is a thread for this in the Form Builder forum, but as it looks like what I want to do is not specific to Forms and more to do with generic PW code/use, I am posting here.