SugarCRM: remove edit button on list view

Create a file called view.list.php at location “custom/modules/{ModuleName}/views/view.list.php”

Copy the contents here below

<?php
require_once('include/json_config.php');
require_once('include/MVC/View/views/view.list.php');
class {ModuleName}ViewList extends ViewList 
{
    function {ModuleName}ViewList()
    {
        parent::ViewList();
    }
    function Display()
    {
        $this->lv->quickViewLinks = false;
        parent::Display();
    }
}
?>
SugarCRM: remove edit button on list view

6 thoughts on “SugarCRM: remove edit button on list view

  1. Spock says:

    Always try to extend the already module view (if exists…) for example for accounts:
    lv->quickViewLinks = false;
    parent::Display();
    }
    }
    ?>

    Like

Leave a reply to Spock Cancel reply