Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niels Kristiansen 166 posts 382 karma points
    May 12, 2009 @ 15:43
    Niels Kristiansen
    0

    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

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    May 12, 2009 @ 16:28
    Warren Buckley
    0

    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 :)

  • Niels Kristiansen 166 posts 382 karma points
    May 12, 2009 @ 17:33
    Niels Kristiansen
    0

    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

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    May 12, 2009 @ 18:03
    Warren Buckley
    0

    Not a problem glad I could help out :)

    Warren

Please Sign in or register to post replies

Write your reply to:

Draft