This only needs to be done in VtigerCRM 5.40! It works out of the box in 6.x.
You could apply the Colors/Actions also to the EditView.
The following Modifications have to be done in multiple files, but are equal in every file!
{include_php file='./modules/Colorizer/EditViewGenerator.php'}
{else} <td colspan=4 class="detailedViewHeader"> <b>{$header}</b> {/if} </td> </tr> <!-- Handle the ui types display --> {include file="DisplayFields.tpl"}
{else} </table> <table border=0 cellspacing=0 cellpadding=0 width=100% class="small" id="tbl{" "|str_replace:"":$header}Head"> <td colspan=4 class="detailedViewHeader"> <b>{$header}</b> {/if} </td> </tr> </table> <table border=0 cellspacing=0 cellpadding=0 width=100% class="small" id="tbl{" "|str_replace:"":$header}Content"> <!-- Handle the ui types display --> {include file="DisplayFields.tpl"}