Post by kanum » Mon Dec 01, 2014 9:37 am

Hi all :)

The follow question how to can I make vqmod search for change class in all files?

I have try:

Code: Select all

    <file name="catalog/view/theme/*/template/common/*.tpl">
        <operation error="skip">
            <search position="replace">class="btn btn-primary"</search>
            <add><![CDATA[]]>class="btn btn-warning" role="group"</add>
        </operation>
    </file>
But not working. Any tip for make it work?

Thank you

New member

Posts

Joined
Tue Apr 10, 2012 11:41 pm

Post by MarketInSG » Mon Dec 01, 2014 2:09 pm

try

Code: Select all

<file name="catalog/view/theme/*/template/common/*.tpl">
        <operation error="skip">
            <search position="replace"><![CDATA[class="btn btn-primary"]]></search>
            <add><![CDATA[class="btn btn-warning" role="group"]]></add>
        </operation>
    </file>


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore
Who is online

Users browsing this forum: No registered users and 5 guests