[Vtigercrm-developers] leads module and console php

Manu urs manu.k at vtiger.com
Thu Jan 14 06:51:13 GMT 2016


Hi  Garry ,

Use this below script .

<?php
> ini_set("error_reporting", "6135");
> include_once 'includes/main/WebUI.php';
> include_once 'vtlib/Vtiger/PackageExport.php';
> include_once 'include/utils/utils.php';
> require_once 'includes/Loader.php';
> require_once('vtlib/Vtiger/Package.php');
> require_once('vtlib/Vtiger/Module.php');
>
> $package = new Vtiger_Package();
>
> $package->export(Vtiger_Module::getInstance('Leads'),'test/vtlib','Leads_Export.zip',true);
>
> echo '<pre>';
> print_r("Lead module exported");
> ?>
>

Regards,
Manu Urs




On Thu, Jan 14, 2016 at 8:17 AM, Garry Brighton <garryatbrighton at gmail.com>
wrote:

> Manu, can you lead me how to export module through script? Here leads
> module was amended somehow and now filters not showing. Wanna rebuild
> database entries related to leads
>
> Thanks in advance
>
> Garry
>
> On Tue, Jan 12, 2016 at 1:43 PM, Manu urs <manu.k at vtiger.com> wrote:
>
>> Hi
>>
>> If you have a back up of your database, then you can  recover it. If not
>> please export  the lead module from  the fresh 6.4.0  installation through
>> script and import it in your current installation.
>>
>> Regards,
>> Manu Urs
>>
>>
>>
>> On Mon, Jan 11, 2016 at 9:40 PM, Stacey Johnson <
>> stacey.johnson110 at gmail.com> wrote:
>>
>>> Leads module has been deleted accidentally using console.php. It was
>>> reported before that when you chose option 7 in console.php and if you
>>> accidentally enter some number what will be related to any module, the
>>> module will be deleted. Correct behavior will be  to allow only module
>>> name. Was already fixed but issie get back in 6.4.
>>> How to recover Leads module? Any package to install and get quick fix?
>>>
>>> Stacey
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>>
>> --
>> Regards,
>> Manu
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
Regards,
Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160114/7320ec21/attachment.html>


More information about the vtigercrm-developers mailing list