• Resolved timothy

    (@schubowitz)


    Hello,

    is it possible to display the attendee list before the formbutton when the even gets displayed via shortcode?
    I display the events only via shortcode and dont use the single event view or the list view.
    It is just like Event title (like 16.03 from 10:00am to 10:30am) and the register from.

    Thanks.
    Kind regards
    Tim

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author roundupwp

    (@roundupwp)

    Hey Tim,

    Support for this was just added in the last release though not documented. The look of the list, in other words it’s styling, relies on it being inside the single event view. The next update will include some styling for the attendee list to make sure it displays normally on all pages. Until then, try this shortcode setting:

    attendeelist=true

    In context:

    [rtec-registration-form event=1531 showheader=true attendeelist=true]

    If it looks odd, feel free to send me a link and I can help style it to look more normal!

    – Craig

    Thread Starter timothy

    (@schubowitz)

    Hey Craig,

    thank you very much!! That helped me a lot!
    But one more question.. can i somewhere position the list?
    For now its right on the top but i would prefer to have it on the bottom (right after the formbutton).

    Thank you.
    Kind regards.
    Tim

    • This reply was modified 6 years, 8 months ago by timothy.
    Plugin Author roundupwp

    (@roundupwp)

    Sure! We can do this with some JavaScript added to the “Custom JavaScript” area on the “Form” tab:

    jQuery('.tribe-events-event-meta.rtec-event-meta').each(function(){
      if (jQuery(this).find('.rtec-section-title').length) {
        jQuery('.rtec').after(jQuery(this));
      }
    });

    This should move the list after the form.

    – Craig

    Thread Starter timothy

    (@schubowitz)

    Ok, now i have under every event 8 lists.
    I display on one page 8 events, so i guess every attendee list is now showing under every event.

    Again thanks a lot!
    Kind regards,
    Tim

    Plugin Author roundupwp

    (@roundupwp)

    Hey Tim,

    No problem! I’m glad you mentioned that you had a few events on one page. I’m thinking that the lists might be out of order with this code. There is an update coming out next week. If you can wait a bit I’ll fix this in the next release and give you a new bit of code that should work perfectly.

    Have a good weekend!

    Thread Starter timothy

    (@schubowitz)

    Hey Craig,

    I’ll wait for the next update than, no problem.
    Thanks a lot and also have a good weekend.

    Tim

    Plugin Author roundupwp

    (@roundupwp)

    Hey again Tim,

    The latest release, 2.1.1, contains better support for attendee lists either as part of the registration form shortcode or as it’s own shortcode.

    Try adding this JavaScript to move the attendee list underneath the related registration form:

    jQuery('.rtec-attendee-list-meta').each(function() {
      $self = jQuery(this);
      $nearestRtec = $self.next('.rtec').length > 0 ? $self.next('.rtec') : $self.next('.rtec-success-message');
      $nearestRtec.after($self);
    });

    Let me know if you have more questions!

    Thread Starter timothy

    (@schubowitz)

    Hey,
    that code works perfectly.
    Thank you very much!

    Plugin Author roundupwp

    (@roundupwp)

    No problem! Glad we could get that working like you needed.

    No obligation or anything but if you felt like leaving a review, it would be greatly appreciated. Otherwise if you ever need anything else, I’d be happy to help!

    Thanks again,

    Craig

    Plugin Author roundupwp

    (@roundupwp)

    I just noticed the review. Thanks so much Tim! That really helps encourage others to try out the plugin.

    Let me know if you ever need anything else!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Display attendee list when the event gets displayed via shortcode’ is closed to new replies.