Placed a WYSIWIG editor in a media type, but can't show it with richtexted [SOLVED]
Hi,
I have tried to find a solution for the whole day now, without any succes.
I have placed a WYSIWIG editor in a media type, but when I try to get the info from the XSLT, it shows up with all the tags written or converted to showable text on the webpage.
I get the picture alright and I actually also get the teaserImgText alright, but teaserImgText is not shown correctly.
And this is the result from teaserImgText:
Nyeste udstyr. Klinikken er digitaliseret med elektroniske journaler, hvori digital røntgen og intraoralt kamera med kliniske billeder er integreret. Det digitale røntgenudstyr nedsætter røntgendosis og giver en sikrere diagnose, og på skærmen kan vi vise dig, hvad der foregår.
All the tags is shown ](*,)
I hope someone has a good idea how to solve it, because I'm lost on this one.
Thanks so much for looking at it.
I like questions like this as its nice and easy for me to answer :)
On the xsl:value-of for your teaserImgText property add disable-output-escaping="yes"
Placed a WYSIWIG editor in a media type, but can't show it with richtexted [SOLVED]
Hi,
I have tried to find a solution for the whole day now, without any succes.
I have placed a WYSIWIG editor in a media type, but when I try to get the info from the XSLT, it shows up with all the tags written or converted to showable text on the webpage.
This is my XSLT:
[quote]
]>
<>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
[/quote]
I get the picture alright and I actually also get the teaserImgText alright, but teaserImgText is not shown correctly.
And this is the result from teaserImgText:
Nyeste udstyr. Klinikken er digitaliseret med
elektroniske journaler, hvori digital røntgen og
intraoralt kamera med kliniske billeder er integreret.
Det digitale røntgenudstyr nedsætter røntgendosis
og giver en sikrere diagnose, og på skærmen kan
vi vise dig, hvad der foregår.
All the tags is shown ](*,)
I hope someone has a good idea how to solve it, because I'm lost on this one.
Thanks so much for looking at it.
/Niels
I like questions like this as its nice and easy for me to answer :)
On the xsl:value-of for your teaserImgText property add disable-output-escaping="yes"
For example:
[code][/code]
Hope this helps you out.
Warren :)
Hi Warren
Oh man, that was all to easy for you and it's working! =d>
Thanks, you have saved me a lot of time today, solving this one for me.
I will find a more tricky question for next time :-k
Kind regards,
Niels
Not a problem glad I could help out :)
Warren
is working on a reply...