Hi, I have a custom module for Clients, and along the top of the DetailView, there is a 'Delete' button. Does anyone know how I can remove that button?
Thanks,
D
Hi, I have a custom module for Clients, and along the top of the DetailView, there is a 'Delete' button. Does anyone know how I can remove that button?
Thanks,
D
Find your detailviewdefs.php file for your custom module. It should be under modules/(module_name)/metadata. If you've yet to install the module, you can edit this directly from your package and be upgrade safe, if not it is best to copy this file to custom/modules/(module_name)/metadata and edit that file. Once there, go to $viewdefs[(module_name)]['DetailView'][templateMeta']['form']['buttons'] and remove the delete entry. Repair/rebuild and you should be good to go.
Robert Beckman
Software Engineer
Mirth Corporation
That worked great Robert. Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks