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();
    }
}
?>
Advertisements
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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s