Post by velko » Tue Mar 23, 2021 6:28 pm

Hello,
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>
What could be the reason?
Could it be any rights?

Newbie

Posts

Joined
Tue Mar 23, 2021 6:19 pm

Post by straightlight » Thu Mar 25, 2021 9:06 pm

OC version. There are plenty of extensions, as an example, that could be used for free from the Marketplace in order to use as the proper to deploy a modification. Please take a look on the Marketplace.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 6 guests