I'm trying to make a module that adds something to the code.
I do everything according to the instructions https://github.com/opencart/opencart/wi ... -structure
The module is installed but does not appear in the Modifications list.
In the ocmod zip I add an empty upload folder.
install.xml
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>All for test</name>
<code>All for test</code>
<version>0.1</version>
<author>Velko</author>
<link><![CDATA[No Link]]></link>
<file path="admin/controller/marketplace/install.php">
<operation>
<search>
<![CDATA[if ($safe) {]]>
</search>
<add position="before">
<![CDATA[$test = true;]]>
</add>
</operation>
</file>
</modification>
Could it be any rights?