• Resolved domoticom

    (@domoticom)


    Hi,

    I have a list with attendees for an event, and would like to show the comments of these attendeed in this list.

    I now have this in setting, markup, event page:
    <p>
    deelnemers
    #_ATTENDEESLIST
    </p>

    Any help would be appriciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    You could check this snippet and modify it to also show the comment field. https://pastebin.com/zj0RenQG

    Thread Starter domoticom

    (@domoticom)

    Hi Timrv, your snippet works, there is hope :-), but what is this: get_spaces()
    They are not placeholders or shortcodes are they ?
    Where can I find a function list that can be used (hopefully with the function ‘comment’)
    Thnx!

    Hello,

    Here is another snippet that could help you: https://pastebin.com/QQft1Hrt

    If you want to see all of our available snippets, You could check this link. https://pastebin.com/u/eventsmanager

    Thread Starter domoticom

    (@domoticom)

    thnx, but i need to show the attendeeslist with their comment.
    What is the fucntion for that ?
    I can see get_name() in your snippet, so what’s the function for comment ?
    get_comment() doesn’t work.

    Thread Starter domoticom

    (@domoticom)

    Solved it
    It seems I can’t use get_comment() because that function doesn’t exist.
    However in the array is a value named ‘comment’ that can be used like this:

    echo ‘

    • ‘. $EM_Booking->get_person()->get_name() . ‘ – ‘ . $EM_Booking->comment . ‘
    • ‘;

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

The topic ‘attendeelist showing comment fields’ is closed to new replies.