Search code examples
phpopencartopencart2.xvqmod

vQmod for OpenCart 2 install instructions


I am using OpenCart 2.0.3.1 and I've followed the installation instructions for vQmod located here.

vQmod for OpenCart 2

Then I followed the instructions to upload an XML file but I am not seeing any changes. Do I need to also install this vQmod?

Github vQmod

This is what my XML file looks like.

<?xml version="1.0" encoding="utf-8"?>
<modification>
<id>Admin modifications</id>
<version>1.0</version>
<vqmver>2.5.1</vqmver>
<author>Me</author>
<file path="my-dashboard/language/english/" name="english.php">
    <operation info="Change short date format">
        <search position="replace">
            <![CDATA[
                $_['date_format_short']             = 'd/m/Y';
            ]]>
        </search>
        <add>
            <![CDATA[
                $_['date_format_short']             = 'm/d/Y';
            ]]>
        </add>
    </operation>
</file>
</modification>

I used the extension installer to upload the XML file in OpenCart and then used the refresh button in Extensions -> Modifications yet my date format is not updating in the admin interface.

The problem could be that I need to install vQmod from the Github link above but if so why isn't that in the install instructions on the OpenCart extensions page.

UPDATE 09/01/2015 - RESOLVED

I have resolved the issue. If you change your admin folder like I did to my-dashboard, in the vQmod XML file you shouldn't use the new folder name but still use admin. All is working now. Probably should add that to the documentation.


Solution

  • I have resolved the issue. If you change your admin folder like I did to my-dashboard, in the vQmod XML file you shouldn't use the new folder name but still use admin. All is working now. Probably should add that to the documentation.