Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Apr 19, 2011 @ 14:14
    dominik
    0

    After Umbraco Upgrade - Wrong Macro Parsing

    Hello,

    Yesterday i updated umbraco from version 4.5.2 to 4.7

    Until now every macro I insert via the content richtext editor is rendered like this:

    <?UMBRACO_MACRO macroAlias="Accordion" /> 

    How can i remove this that it is working like it has do on umbraco 4.5.2?

  • dominik 711 posts 733 karma points
    Apr 19, 2011 @ 14:35
    dominik
    0

    so what i have done is changing:

     

    <xsl:value-of select="$currentPage/contentTab1Text" disable-output-escaping="yes" />

    to:

     <xsl:value-of select="umbraco.library:RenderMacroContent($currentPage/contentTab1Text, $currentPage/@id)" disable-output-escaping="yes" /> 

    But how can i get now the macro working which is inside the contentTab1Text

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft