<div dir="ltr"><div><div><div>Hi  Garry ,<br><br></div>Use this below script .<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><?php<br>ini_set("error_reporting", "6135");<br>include_once 'includes/main/WebUI.php';<br>include_once 'vtlib/Vtiger/PackageExport.php';<br>include_once 'include/utils/utils.php';<br>require_once 'includes/Loader.php';<br>require_once('vtlib/Vtiger/Package.php');<br>require_once('vtlib/Vtiger/Module.php');<br><br>$package = new Vtiger_Package();<br>$package->export(Vtiger_Module::getInstance('Leads'),'test/vtlib','Leads_Export.zip',true);<br><br>echo '<pre>';<br>print_r("Lead module exported");<br>?><br></blockquote><br></div>Regards,<br></div>Manu Urs<br><div><div><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 8:17 AM, Garry Brighton <span dir="ltr"><<a href="mailto:garryatbrighton@gmail.com" target="_blank">garryatbrighton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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<div><br></div><div>Thanks in advance</div><div><br></div><div>Garry</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jan 12, 2016 at 1:43 PM, Manu urs <span dir="ltr"><<a href="mailto:manu.k@vtiger.com" target="_blank">manu.k@vtiger.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi<br><br></div>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. <br><br></div>Regards,<br></div>Manu Urs<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Jan 11, 2016 at 9:40 PM, Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">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.<div>How to recover Leads module? Any package to install and get quick fix?<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><br></div><div>Stacey</div></font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div><div dir="ltr"><div>Regards,<br></div>Manu<br></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Manu<br></div></div>
</div>