[Vtigercrm-developers] Packaging and installing custom module

Estefan Civera [Italy] estefan.civera at gmail.com
Fri Jun 26 08:49:07 GMT 2015


Hi all 

after creation of my custom module I've decide to export and install in
another vtiger instance.

First, after read vtiger docs I create  a package

$mod = Vtiger_Module::getInstance('MyModule');
$package = new Vtiger_Package();
$package->export($mod);

this code create package correctly

but where I go in module manager to install it vtiger  (6.2)gives me this
message

/Failed Invalid File provided for module import! Try Again./

Can someone help me?



-----
Ing. Estefan Civera
Vtiger developer and consultant
http://www.estefancivera.net
Italy
--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Packaging-and-installing-custom-module-tp16714.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list