• Resolved jargenhunter

    (@jargenhunter)


    I’m trying to display two lists.

    The first is a list of events that the current logged in user is signed up for.

      I see on the documentation that I can add a bookings=”1″ to the event list shortcode to show events that require bookings, and I see in the notes we can “use user to show events a logged in user has booked” but I can’t seem to make this work. How exactly should user be used with bookings to make this list appear?

    The second is a list of events that the current logged in user owns.

      I see that I can use the owner attribute to display events by user id, but how would I make this work to only show events that a user that is currently logged in owns? For example, if person X is logged in, they would only see their events, but user Y when logged in would see a list on only the events they schedule

    Thanks for your help!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    1. shortcode [events_list bookings=1 scope=”future”] should shows events where bookings is enabled

    2. You can try to use shortcode [events_list bookings=1 owner=”me” scope=”future”] to display the events of the currently login user.

    Thread Starter jargenhunter

    (@jargenhunter)

    Fantastic! Thank you!

    Thread Starter jargenhunter

    (@jargenhunter)

    Testing this out, owner=”me” doesn’t appear to be restricting the list to only the currently logged in user’s events.

    Also, is there a way to alter [events_list bookings=1 scope=”future”] so that it only shows things I’ve already booked for myself?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help with Attributes’ is closed to new replies.