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(); } } ?>
Related articles
- Thoughts on Sugar CRM (ebiztechs.wordpress.com)
- Install SugarCRM on UBUNTU (cleanclouds.wordpress.com)
Sr I want to hide edit icon when status is Converted, could you have me?
LikeLike
Always try to extend the already module view (if exists…) for example for accounts:
lv->quickViewLinks = false;
parent::Display();
}
}
?>
LikeLike
Thank you a lot but one question: Is there a possibility to do this for all modules at once?
LikeLike
[…] SugarCRM: remove edit button on list view « Php Bugs – Posted on April 4, 2011, in SugarCRM and tagged Customer relationship management, PHP, SugarCRM. Thanks for an concept, you sparked at thought from a angle I hadn’t given thoguht to yet. Now lets see if I can do something with it. […]
LikeLike
excellent ….. it works ….. thnx a ton mann …
LikeLike
Thanks for an concept, you sparked at thought from a angle I hadn’t given thoguht to yet. Now lets see if I can do something with it.
LikeLike