Template Modification Compiler Error

Daniel 'RTRD'

Well-known member
Licensed customer
I can't get this modification to work:
Code:
<modification modification_key="UserRankRibbons_Member_Card" template="member_card" execution_order="50" action="str_replace" description="UserRankRibbons_Member_Card" enabled="1">
        <find><![CDATA[<div class="userInfo">
        <h3 class="username"><xen:username user="$user" class="NoOverlay" /></h3>
       
        <div class="userTitleBlurb">]]></find>
        <replace><![CDATA[<div class="userInfo">
        <h3 class="username"><xen:username user="$user" class="NoOverlay" /></h3>
        <xen:if is="@UserRankRibbonsActive"><xen:include template="UserRankRibbons_member_card" /></xen:if>
        <div class="userTitleBlurb">]]></replace>
    </modification>

I get this when viewed in TM:
ScreenShot139.webp
ScreenShot140.webp

Any solution for this? :)
 
Have you tried manually editing the template to see what the error is?
 
The TM still failed to apply. Gave you tried directly adding it to the template to see what the error is?
 
Back
Top Bottom