camptix icon indicating copy to clipboard operation
camptix copied to clipboard

How can I add the questions in notification email?

Open davidperezgar opened this issue 6 years ago • 4 comments
trafficstars

Hello, I've been looking for a shortcode to show Questions in notification email, but I didn't see it.

Is there any way to get that information in notification email?

davidperezgar avatar Jan 24 '19 11:01 davidperezgar

Any idea where I can start?

davidperezgar avatar Feb 12 '19 10:02 davidperezgar

Hi @davidperezgar Sorry for the delayed response here. There isn't currently a way to include questions/answers in the notification emails. It that's something you'd like to work on, we could certainly work with you on a Pull Request.

As a starting point, here is where the existing notification shortcodes get initialized: https://github.com/Automattic/camptix/blob/master/camptix.php#L333

coreymckrill avatar Feb 21 '19 17:02 coreymckrill

What's the use case for this? At first glance it doesn't seem like it'd be that useful for attendees, since they already known the answers.

🤔

Well, I guess someone might forget which t-shirt size they chose, for example, so maybe it could be useful? What kinds of things were you thinking about David?

iandunn avatar Feb 21 '19 19:02 iandunn

Thanks for your replies. Yes, it's interesting becouse they have a proof that they were answered. Should I make a pull request or make a Camptix Addon? I've tried an addon, but I couldn't manage to get the atendee id, or making work this function: https://github.com/Automattic/camptix/blob/master/camptix.php#L388 As plugin addon...

I've been using the questions to make a workshop atendee list...

davidperezgar avatar Feb 21 '19 20:02 davidperezgar