Delete Module From vtiger CRM

Share on Google+Share on FacebookShare on LinkedInPin on PinterestTweet about this on TwitterEmail this to someone

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

 

Ravi Prakash

Ravi is Hadoop Architect and PHP open source developer.He prepares and maintains all applications utilizing standard development tools and provides technically related consultation plus expertise developer. You can contact with linkedIn

Leave a Reply

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

6 + = 12