{"id":2242,"date":"2020-11-04T07:10:39","date_gmt":"2020-11-04T07:10:39","guid":{"rendered":"http:\/\/crmtiger.com\/blog\/?p=2242"},"modified":"2024-07-10T09:57:59","modified_gmt":"2024-07-10T09:57:59","slug":"how-to-delete-module-from-your-vtiger","status":"publish","type":"post","link":"https:\/\/crmtiger.com\/blog\/how-to-delete-module-from-your-vtiger\/","title":{"rendered":"How do I delete modules from your vTiger?"},"content":{"rendered":"<p>Are you facing problems because of some modules? and you wish to remove it completely?<br \/>\nvTiger doesn\u2019t have an option to delete modules; it just has an option to inactive\u00a0 modules, but in the backend, it stays there until you completely remove it.<br \/>\n<!--more--><br \/>\n<a class=\"dt-single-image\" href=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-module-manager.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2245 size-full\" src=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-module-manager.png\" alt=\"img\" width=\"624\" height=\"136\" srcset=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-module-manager.png 624w, https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-module-manager-300x65.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/a><br \/>\nWe\u2019re here to help you. Can you suggest steps on how to delete modules completely from your vTiger?<\/p>\n<h3 style=\"color: #00acef;\"><span style=\"text-decoration: underline;\"><strong>Uninstall Module:<\/strong><\/span><\/h3>\n<p>During development or if you install third-party extensions and you may want to uninstall a module, follow the steps below.<\/p>\n<h3 style=\"color: #00acef;\"><span style=\"text-decoration: underline;\"><strong>Step 1: Delete Module:<\/strong><\/span><\/h3>\n<p>Create a PHP file with the name \u201cDeleteModule.php\u201d and copy the following code to that file.<br \/>\nNote: Make sure you change the name of the module. It should not be the label name of the module but the actual module displayed in the URL.<\/p>\n<p><a class=\"dt-single-image\" href=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-products.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2246 size-full\" src=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-products.png\" alt=\"img\" width=\"624\" height=\"132\" srcset=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-products.png 624w, https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/vtiger-products-300x63.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<h3 style=\"color: #00acef;\"><span style=\"text-decoration: underline;\"><strong>PHP Code:<\/strong><\/span><\/h3>\n<p><code>&lt;?php<\/code><\/p>\n<p><code>include_once 'vtlib\/Vtiger\/Module.php';<\/code><\/p>\n<p><code>$Vtiger_Utils_Log = true;<\/code><\/p>\n<p><code>$module = Vtiger_Module::getInstance('');<\/code><br \/>\n<code>if ($module) $module-&gt;delete();<\/code><br \/>\n<code>?&gt;<\/code><\/p>\n<h3 style=\"color: #00acef;\"><span style=\"text-decoration: underline;\"><strong>Step 2: Delete Folders:<\/strong><\/span><\/h3>\n<p>Module folders and files need to be removed manually. Following are the locations where references exist.<\/p>\n<ul style=\"list-style-type: none;\">\n<li><img decoding=\"async\" src=\"http:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2017\/02\/check.png\" alt=\"\" \/> modules\/ModuleName<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2017\/02\/check.png\" alt=\"\" \/> languages\/en_us\/ModuleName.php<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2017\/02\/check.png\" alt=\"\" \/> languages\/&#8230;\/ModuleName.php<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2017\/02\/check.png\" alt=\"\" \/> layouts\/vlayout\/modules\/ModuleName<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2017\/02\/check.png\" alt=\"\" \/> cron\/ModuleName<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3 style=\"color: #00acef;\"><span style=\"text-decoration: underline;\"><strong>Step 3: Delete Data:<\/strong><\/span><\/h3>\n<p>Module stores data in the database table; you may want to delete \/ truncate the same data only if Delete Module will not delete some tables.<br \/>\nI hope you find this blog useful.<\/p>\n<p><span style=\"font-weight: 400;\">Please contact us at\u00a0<a href=\"mailto:info@crmtiger.com\">info@crmtiger.com<\/a> if you need further help from us.<\/span><\/p>\n<p>Let us know if you need more information on this.<br \/>\n<a href=\"https:\/\/crmtiger.com\/contact-us.html?utm_source=blog-nm&amp;utm_medium=crmtiger-nm&amp;utm_campaign=del-module-vtiger-nm\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2316 size-full\" src=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/CRMTiger.jpg\" alt=\"img\" width=\"650\" height=\"160\" srcset=\"https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/CRMTiger.jpg 650w, https:\/\/crmtiger.com\/blog\/wp-content\/uploads\/2020\/11\/CRMTiger-300x74.jpg 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<div class=\"more-info\">\n<p><span style=\"color: #00acef;\"><strong>Do you need more information?<\/strong><\/span><\/p>\n<p style=\"color: #000000; font-size: 11pt;\">For any further information \/ query regarding Technology, please email us at <a href=\"mailto:info@crmtiger.com\">info@crmtiger.com<\/a><br \/>\nOR call us at\u00a0<span style=\"color: #00acef; font-size: 12pt;\">+1 630 861 8263.\u00a0<\/span>Alternately, you can request information by filling\u00a0out the\u00a0<a href=\"http:\/\/crmtiger.com\/contact-us.html\">Contact Us<\/a>\u00a0form.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Are you facing problems because of some modules? and you wish to remove it completely? vTiger doesn\u2019t have an option to delete modules; it just has an option to inactive\u00a0 modules, but in the backend, it stays there until you completely remove it.<\/p>\n","protected":false},"author":3,"featured_media":2249,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge"],"_links":{"self":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts\/2242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/comments?post=2242"}],"version-history":[{"count":13,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts\/2242\/revisions"}],"predecessor-version":[{"id":3705,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/posts\/2242\/revisions\/3705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/media\/2249"}],"wp:attachment":[{"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/media?parent=2242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/categories?post=2242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crmtiger.com\/blog\/wp-json\/wp\/v2\/tags?post=2242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}