Support » Plugin: RSVPMaker » Email templates broken

  • Hi David,

    I created a new email html template (with tables, inline css, rsvp short codes), navigated to RSVP Mailer/Email Template, created a new template called ‘template20’, pasted in my html and clicked saved. On save the box holding the new html changed to ‘<? echo $template[$index][“html”]; ?>’.
    I changed the setting to use ‘template20’ for ‘Template For Confirmation/Reminder Messages’ and ran a test. The email I received in my inbox only contains a .ics file and an unsub link. Pretty much a plain text email.
    When I reset the Email Template back to the default template I receive the same email as ‘template20’ so I’m guessing I’ve broken the email template.

    I’ve turned off email notifications for now.

    How would I get back to the original default template? And any ideas what I’m doing wrong with adding a new email template?

    Many thanks,

    Mark

Viewing 1 replies (of 1 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    You can’t put your own PHP code in the body of that document. What you can do is add your own shortcode to replace the default one, which is [rsvpmaker_email_content]

    That default shortcode outputs the content of the event post. The rest of the template exists to set up a MailChimp-compatable HTML wrapper around the content in place of your website theme template.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.