Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am usng transformed xslt to send emails in umbraco.
Now, I have created a workdlow to send an email to the user, and getting the tahnk you message from Umbraco CMS.
But I have problem where I have a rich text editor, where admin input the email message, but when I read it in xslt:
<xsl:variable name="thankyou" select="$currentPage/thankYouMessage" /> <xsl:copy-of select="$thankyou"/>
when the email is received, the HTML tags are ignored and will be shown for example liek: Dear User <p> Thank you for..........
Do you have any idea how can I persist the HTML to be rendered in the email body?
Thank you in advance.
kind regards
Hi Simon,
I think you need to add the disable-output-escaping to where you output the value.
<xsl:variable name="thankyou" select="$currentPage/thankYouMessage" /><xsl:value-of select="$thankyou" disable-output-escaping="yes" />
Thank you Dennis.
Cheers mete :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Reading CMS Value into XSLT
Hi,
I am usng transformed xslt to send emails in umbraco.
Now, I have created a workdlow to send an email to the user, and getting the tahnk you message from Umbraco CMS.
But I have problem where I have a rich text editor, where admin input the email message, but when I read it in xslt:
when the email is received, the HTML tags are ignored and will be shown for example liek: Dear User <p> Thank you for..........
Do you have any idea how can I persist the HTML to be rendered in the email body?
Thank you in advance.
kind regards
Hi Simon,
I think you need to add the disable-output-escaping to where you output the value.
<xsl:variable name="thankyou" select="$currentPage/thankYouMessage" />
<xsl:value-of select="$thankyou" disable-output-escaping="yes" />
Thank you Dennis.
Cheers mete :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.