Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Nov 16, 2012 @ 16:08
    Fuji Kusaka
    0

    XSLT & Razor Macro not displayin in Richtexteditor

    Hi Guys,

    Am having some issues while trying to add a macros to my RichTextEditor. Basically the Macros is a list of images from the Media Section where user will be able to add it to the RTE and then add links to content of the page since this is a multilingual website.

    Everything displays perfectly in the backOffice of umbraco but when browsing nothing is being displayed. I have tried both xslt and razor but nothing is showing up.

    Viewing the code source generate i get this 

    <!--?umbraco_macro source="1266" macroalias="list-view-act"?-->

    Any thought why??

    //fuji

  • Fuji Kusaka 2203 posts 4220 karma points
    Nov 16, 2012 @ 19:02
    Fuji Kusaka
    0

    Just for the record am using razor in my template to display the RTE,

     

     @{                
    @Library.StripHtml(Model.bodyText, "pre")  
    }

     

  • 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.

Please Sign in or register to post replies