French/English email template
Thursday, November 12, 2020 at 09:02amHow can I embed a button labelled "version française" within the email template so users can click on the button and see the French version of the templates.
Currently for the account.invitation email we've placed both the English and French into one template but would prefer the user to be able to select the French version if they need to. If I could get the HTML code so I can upgrade the templates would be very very helpful.
Reply to: French/English email template
Thursday, November 12, 2020 at 02:48pmHi Lori,
To add collapsible text, accordion or toggle components is actually much more complex than developing with normal web pages, this is because mail clients prevent most of the Javascript codes, and provide different and very limited support for CSS styles. That's why you can see your email template required hundreds lines of codes to ensure it can be effectively rendered across clients. So come back to the topic, I do have found some similar guides and sample codes out there:
https://freshinbox.com/blog/interactive-tabs-for-email/ (how to create tabs for email)
https://codepen.io/M_J_Robbins/pen/RNWOmB (an example to show/hide texts)
You can pass these resources to your developer, but as stated above, these examples may not work for the email clients your senders are using and required more thorough tests.
Duo
Reply to: Hi Lori, To add…
Wednesday, November 18, 2020 at 10:02amHi when you store the templates are there URLs assigned to them? I have created the ability for a user to click an embedded button link to change the email template but I need to be able to launch the French email template.
Reply to: French/English email template
Thursday, November 19, 2020 at 10:14amHi Lori,
Unfortunately, the email templates are only stored in database and not exposed as public URLs. Furthermore, the "$LINK_URL" placeholder you used in the template will only be calculated when the email get sent, so you probably have to host a static page without the link and ask the sender to come back to the original email and click the registration link there.
Duo