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
    Sep 02, 2014 @ 12:59
    Fuji Kusaka
    0

    Razor Macro file within another one

    Hi,

    Is it possible to render a razor file within another one ? 

    I have a razor file which i created to use in my template where it will retrieve content from RTE. The reason am using cshtml file here is i need to find some characters in the RTE and replace them by using something like

    @Library.StripHtml(content.Replace("**","<dbi>whatever</dbi>"), "pre")

    But here i found out there are a few Macro File Parameter being used in those RTE which in my case eventually stopped working. Just to point out the Macro Files are XSLT  files.

    I might change the xslt to razor file but are they going to be rendered within the cshtml file rendering content RTE ?

    Any suggestions ? 

     

  • Fuji Kusaka 2203 posts 4220 karma points
    Sep 11, 2014 @ 09:22
    Fuji Kusaka
    0

    Anyone have any suggestions on this ?

     May be a Angular Js ?

  • 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