as i can see in v2.3.x inside *.ocmod.zip you could have those files:
install.sql
install.xml
install.php
/upload forlder
but now in v3.0.* you can only have install.xml and /upload forlder
so i dont believe that is a solution to my question
--
the only way is to use a fix so as to do it by altering a file
FILE: admin/controller/marketplace/install.php
LINE: 318
CODE ADD:
Code: Select all
$status= $dom->getElementsByTagName('status')->item(0);
if ($status) {
$status = $status->nodeValue;
} else {
$status = 1;
}
LINE: 330
CODE REPLACE:
Code: Select all
'status' => 1
to
'status' => $status
and inside install.xml use this tag
<modification>
<status>0</status>
--
Conclution:
it use' s $status as a variable $data['status'] when oc adds the modification
ModelSettingModification->addModification($data)
why not to be programmers choice to be 1 or 0 (enabled or disabled) ?
can i request this as fix for new oc version??