Support

Home Forums Event Espresso Premium Line Breaks in [QUESTION_LIST] and [ATTENDEE_LIST]

Line Breaks in [QUESTION_LIST] and [ATTENDEE_LIST]

Posted: July 14, 2016 at 10:23 pm

Viewing 2 reply threads


Waz

July 14, 2016 at 10:23 pm

Hi Guys

I have been looking at EE4 and I have been trialing a few messages. Perhaps I am missing something but is appears when I use the shortcode [ATTENDEE_LIST], in the resulting email there is no line break before the next attendee in the list. I would also like to have each question and answer fall on to a different line i.e question: answer </br> question: answer </br> Is this possible?

Hopefully you guys can clarify this, cheers


Tony

  • Support Staff

July 15, 2016 at 3:42 am

Hi Warren,

So the _LIST shortcodes loop over however many elements they have and output whatever is in that section for each element which can be that Attendee’s, Questions etc.

You can include br tags within either of those sections if you prefer, but you may find QUESTION_LIST works better as a UL. Wrap the sortcode within a UL and then the Question and Answer shortcodes would be Li’s.

The best place the view how we setup both of those shortcodes is within the Event Admin context of the Registration Approved message type.

Go to Event Espresso -> Messages -> Registration Approved -> Event Admin.

Take a look at the [ATTENDEE_LIST] and [QUESTION_LIST] sections for examples of how we set them up to work how you are requesting above.


Waz

July 16, 2016 at 10:33 pm

thanks Tony, yes the Ul’s and LI’s did the trick!

Viewing 2 reply threads

The support post ‘Line Breaks in [QUESTION_LIST] and [ATTENDEE_LIST]’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso