Delete Module From vtiger CRM

 

July 19, 2017

admin

Process for Delete Module From vtiger CRM

 

For Example You want to delete a module which name id “PDFMaker”

  1.  Uninstalled module from admin Panel.
  2.  Login in putty and delete module (PDFMaker) folder from modules directory
  3. Use this command “rm -fr PDFMaker”

pic1

4. Create a file with name deletemodule.php at root of vtiger.

pic2

5. Write code in  deletemodule.php  page

<?php

$Vtiger_Utils_Log = true;

include_once(‘vtlib/Vtiger/Module.php’);

$module = Vtiger_Module::getInstance(‘PDFMaker‘);

if($module)

{

$module->delete();

}

else

{

echo “Not delete”;

}

?>

6. Now Run this page on url

7. http://xyz.com/deletemodule.php

 

Leave a Reply

Your email address will not be published. Required fields are marked *

More like this

The Ultimate Guide For Notion AI

The Game-Changing Impact Of Extended Reality (XR) On The Future

MEAN vs MERN: Which Stack Is Best For Your Next Web Development Project?