Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Christian,

    At what point do you need to hook in? I’m wondering whether it’s to pre-fill a form or to be passed along with payment info, or something else.

    Thread Starter masopustc

    (@masopustc)

    I’m using the Event-Manager at our internal webserver (for our workers
    council) and we don’t have payment. But you’re right, additionally to
    doing authentication (against our active directory) I also will fill
    out the user information.
    At the moment I plan to do this without creating an account within
    wordpress, therefore I’ve set guest-enabled and use the “no user option”.

    I’ve now modified (in my theme) the bookingform.php and replaced the
    submit button by a “pre-submit” button which calls a javascript. This
    JS then does simple authentication (via AJAX) and also gets back the
    necessary user data which then will be written to some hidden form
    fields.

    It’s really great when one finally finds out the principles and ideas
    that you’ve followed when writing the Event-Manager 🙂

    There’s now only one open point: when booking an event now, I no longer
    see that I’m already booked for this event when visiting the event-page
    again and also I’m not able to edit my bookings.
    But I’m sure I’ll also find a way for that 🙂

    Thanks,
    christian

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Event-Manager: hook into Booking’ is closed to new replies.