Removing buttons From SugarCRM / SuiteCRM Detail View

Following Code will Remove the Fourth button from the Detailview of Module
This code should be placed in the display() function in the view.detail.php of the module in which we want to remove the button

unset($this->dv->defs[‘templateMeta’][‘form’][‘buttons’][3]);
$this->dv->process();
echo $this->dv->display();

Hope you find this blog post helpful.

Feel free to add comments and queries, that helps us to improve the quality of posts.

You can contact us at info@infotechbuddies.com

Thank you.

Spread the love

Leave a Reply

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