Events Manager
How to send booking confirmations as calendar events instead of just an ema (7 posts)

  1. geeklimit
    Posted 4 years ago #


    I've looked through the last month of tickets, so I hope I'm not duplicating a previously-answered ticket.

    Is it possible to format the Booking Confirmation email with a "Add to My Calendar" link? When people get the booking confirmation email, I'd like to offer them the ability to add the event to their calendar with one click, much like the way Google Calendar and Exchange/Outlook are able to do so.

    Is this possible? My company is looking to replace a home-grown events management app with WordPress + Events Manager, and everything has exceeded our wildest expectations - the only thing we're missing is the ability to have people add the events to their calendars (so they don't forget). If not currently possible, I believe the option to send Booking Confirmations in this manner would be warmly received by many Events Manager users.

    Thank you for a great product!


  2. agelonwl
    Posted 4 years ago #

    Yes, that's possible.

    You can create a custom placeholder and duplicate ical template located at templates\ical.php then you can customized that according to your needs and load it, please read similar post http://wordpress.org/support/topic/plugin-events-manager-custom-placeholder-1?replies=3

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    one thing to note, the emails aren't html (coming soon) so only urls would work

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    just re-read that, currently there's an ical for all events, single ical links coming soon.

  5. geeklimit
    Posted 4 years ago #

    Glad to hear it's coming soon. I'm getting a little bogged down trying to implement.

    I don't have a ton of experience in PHP, but here's the idea of where I'm at: I know I can get a http://domain.com/?ical link that is a subsciption to all events. No problem there, plenty of plugins that do this for EM.

    Basically I think I want to extend ical.php (?), so I can send a link with the booking email that is something like:

    <a href="http://domain.com/?ical&event_id=#_EVENTID>
      Click here to add " #_NAME " to your Calendar

    The key result being: domain.com/?ical&event_id=1 of course, which would propulate the iCal with only one event, and mark it up as an event and not a calendar.

    Does this make sense? I fear my PHP abilites are not up to this task, but I'm trying to implement this.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    you could quite easily implement something like this.

    In fact, in some ways, it's better than the approach I was thinking of taking :)

  7. geeklimit
    Posted 4 years ago #

    lol, glad to hear it. I'm relying on my PHP skills from 10 years ago - it's been a while since I did any programming at all. I'm also not familiar with the way WordPress or Events Manager works.

    So... I agree it's probably easily implementable, but it's going to take me forever, and I'm sure it'll be a kludgy mess. I might have to wait until this functionality comes out in a future release, unless anyonce can advise how to modify em-ical.php?

    I think only a modification of templates/ical.php is needed here. If no &event_id=#_EVENTID is appended to the iCal URL, it will default to serving up what it is now - a Calendar iCal file with all events

    If an event ID is supplied, templates/ical.php takes this input and only supplies the information for that event. I don't think the type needs to change, it's still VEVENT.

    It's so hard because I know this wouldn't be a big deal to do but I'm so darn rusty! (and wasn't that good to begin with)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic