Posted: March 8, 2019 at 8:33 am
|
Hi, EE preesents the following error when I tried to saved the template in a new site using EE Version 4.9.78.p. Are shortcodes like [EVENT_IMAGE],[RECIPIENT_FNAME],[QRCODE_*],[EVENT_NAME] deprecated in this later version? Where is [RECIPIENT_ANSWER_*Department] getting its value from? From WP user profile? An error has occurred: The following shortcodes were found in the “Main Content” field that ARE not valid: [EVENT_IMAGE],[RECIPIENT_FNAME],[RECIPIENT_ANSWER_*Department],[QRCODE_*],[EVENT_NAME] Valid shortcodes for this field are: [EVENT_LIST], [ATTENDEE_LIST], [TICKET_LIST], [COMPANY], [CO_ADD1], [CO_ADD2], [CO_CITY], [CO_STATE], [CO_ZIP], [CO_LOGO], [CO_EMAIL], [CO_PHONE], [CO_LOGO_URL], [CO_FACEBOOK_URL], [CO_TWITTER_URL], [CO_PINTEREST_URL], [CO_GOOGLE_URL], [CO_LINKEDIN_URL], [CO_INSTAGRAM_URL], [CO_TAX_NUMBER_*], [PRIMARY_REGISTRANT_FNAME], [PRIMARY_REGISTRANT_LNAME], [PRIMARY_REGISTRANT_EMAIL], [PRIMARY_REGISTRANT_REGISTRATION_ID], [PRIMARY_REGISTRANT_REGISTRATION_CODE], [PRIMARY_REGISTRANT_PHONE_NUMBER], [PRIMARY_REGISTRANT_ADDRESS], [PRIMARY_REGISTRANT_ADDRESS2], [PRIMARY_REGISTRANT_CITY], [PRIMARY_REGISTRANT_ZIP_PC], [PRIMARY_REGISTRANT_ADDRESS_STATE], [PRIMARY_REGISTRANT_COUNTRY], [PRIMARY_REGISTRANT_REGISTRATION_DATE], [PRIMARY_REGISTRANT_FRONTEND_EDIT_REG_LINK], [PRIMARY_REGISTRANT_ANSWER_*], [PRIMARY_REGISTRANT_TICKET_LIST], [PRIMARY_REGISTRANT_DATETIME_LIST], [PRIMARY_REGISTRANT_QUESTION_LIST], [EVENT_AUTHOR_FNAME], [EVENT_AUTHOR_LNAME], [EVENT_AUTHOR_FORMATTED_EMAIL], [EVENT_AUTHOR_EMAIL], [TXN_ID], [PAYMENT_URL], [PAYMENT_LINK_IF_NEEDED_*], [PAYMENT_DUE_DATE_*], [INVOICE_LINK], [INVOICE_URL], [INVOICE_LOGO_URL], [INVOICE_LOGO], [INVOICE_PAYEE_NAME], [INVOICE_PAYEE_ADDRESS], [INVOICE_PAYMENT_INSTRUCTIONS], [INVOICE_PAYEE_EMAIL], [INVOICE_PAYEE_TAX_NUMBER_*], [TOTAL_COST], [TXN_STATUS], [TXN_STATUS_ID], [PAYMENT_STATUS], [PAYMENT_GATEWAY], [AMOUNT_PAID], [LAST_AMOUNT_PAID], [TOTAL_AMOUNT_PAID], [TOTAL_OWING], [TXN_SUBTOTAL], [TXN_TAX_SUBTOTAL], [OWING_STATUS_MESSAGE_*], [TXN_TOTAL_TICKETS], [TKT_QTY_PURCHASED], [TRANSACTION_ADMIN_URL], [RECEIPT_URL], [INVOICE_RECEIPT_SWITCHER_URL], [INVOICE_RECEIPT_SWITCHER_BUTTON], [LAST_PAYMENT_TRANSACTION_ID], [TXN_TICKETS_URL], [TXN_TICKETS_APPROVED_URL], [DISPLAY_HTML_URL] |
Which message template is this? Registration Approved? Which ‘context’ are you copying them from and to? https://eventespresso.com/wiki/messages-system-working-with-message-contexts/
No, they are still valid, but it depends where you use them.
Not, not the WP user profile, thats pulling the answer to a ‘Department’ question set on the registration form. |
|
|
Hi, Upon successful registration, I get a “Registration Notification” email. How do I include the [QRCODE_*] into this message? Thanks. |
Ok, that makes sense, the main content section for that message type would have access to those shortcodes. The template you are copying it from, and to, makes a different as each message type has access to different data.
You can’t, |
|
|
Thanks! Instead of embedding the QR code into the Registration Notification email, how about embedding a hyperlink so recipient can click to load the QR from my site? How do I construct the URL given that the ticket is unique to each registrant? BTW, is there a reference that list the types of shortcodes applicable to each type of message template, such as “Registration Approved”, “Registration Declined”, “Ticket” etc Thanks! |
Sure, you can do that using the The latter is a link to only show the tickets for ‘Approved’ registrations in the group.
Theres a help setion in each individual message type that shows all of the shortcodes available and all of the options on each shortcode. Then each section has a menu that shows the available shortcodes for that specific section, clicking on the shortcode adds it the section wherever your cursor is. See: https://monosnap.com/file/X9KKsWPyMUQxsytJcrS3Kl6lE5k5pL |
|
The support post ‘Invalid shortcodes saving a Custom Message Template’ 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.