Is it possible to customize the look of the data displayed in a sub panel’s default view? I created a subpanel folder in my module’s custom folder and added the following to the default.php file inside the folder and it is not working. Any thoughts on how to make this work? I basically want the Coverage column to read “650 in” instead of “650”.
Here is an example of a process record logic hook I just done:
class instant_edit
{
function instant_edit(&$bean, $event, $arguments)
{
global $app_list_strings;
if (!isset($bean->account_role) || $bean->account_role == ""){
// must have value to click on, so show --- when not set
$bean->account_role='<span id="'.$bean->id.','.$bean->accounts_accounts_1accounts_idb.'" title="Click twice to edit..." onclick="instant_edit($(this));" class="editable">---</span>';
}
else {
$bean->account_role= '<span id="'.$bean->id.','.$bean->accounts_accounts_1accounts_idb.'" title="Click twice to edit..." onclick="instant_edit($(this));" class="editable">'.$app_list_strings['roles_1_list'][$bean->account_role].'</span>';
}
}
}