• Resolved Charles

    (@charlesrodmell)


    Hi. I put the [eme_mybookings] shortcode on a page. Viewing the page as a logged in user that had created an RSVP booking: all it showed was a bullet point with surname and a number 1 in brackets. I was hoping it would show the user a list of their bookings, perhaps with links to the events (so they can easily find and cancel events they are booked on). Is there something I’m missing? Sorry if I’m being dim.

    Excellent plugin once I got my head around the basics – keep up the good work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Charles

    (@charlesrodmell)

    Wait, I’ve just realised it uses the same format as #_BOOKINGS on the RSVP settings page 🙂
    So I guess I’m going to need to create a for loop to look through all the bookings and display stuff.

    • This reply was modified 4 years, 6 months ago by Charles.
    Plugin Author Franky

    (@liedekef)

    [eme_mybookings] already loops for you. It uses a template for list header, list entry, list footer. See:

    https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_mybookings/

    (template_id, template_id_header, template_id_footer)

    Thread Starter Charles

    (@charlesrodmell)

    Thanks. I’ve just noticed there is a whole “Templates” section in the menu…. I thought I was restricted to using the ones in the main settings and couldn’t figure out how to create the templates mentioned in the docs… Fingers crossed should be ok now 🙂

    Thread Starter Charles

    (@charlesrodmell)

    All sorted.
    For anyone searching, I made a template (wordpress admin/events/templates) with “#_STARTDATE, #_LINKEDNAME” and bunged the shortcode on the page with the id of the template: “[eme_mybookings template_id=1 future=1]”, which makes a nice list for users to see their own bookings by date and a link to the event.
    Sent you a donation.

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

The topic ‘[eme_mybookings] usage’ is closed to new replies.