OK. I found the solution to this problem.
I just copied this code extract from Contacts\metadata\sidecreateviewdefs.php to Accounts\metadata\sidecreateviewdefs.php
Code:
array (
array('name'=>'email1', 'customCode'=>'<input type="text" name="emailAddress0" size=20><input type="hidden" name="emailAddressPrimaryFlag" value="emailAddress0"><input type="hidden" name="useEmailWidget" value="true"><script language="Javascript">addToValidate("form_SideQuickCreate_Contacts", "emailAddress0", "email", false, SUGAR.language.get("app_strings", "LBL_EMAIL_ADDRESS_BOOK_EMAIL_ADDR"));</script>'),
), Strangely enough, this trick doesn't work for the ListView : I can't display the email adresses when I copy this code extract from \modules\Contacts\metadata\listviewdefs.php to \custom\modules\Accounts\metadata\listviewdefs.php :
Code:
'EMAIL1' => array( 'width' => '15%', 'label' => 'LBL_LIST_EMAIL_ADDRESS', 'sortable' => false, 'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>', 'default' => true, ), I anybody finds a way to display clickable email adresses in a Accounts LIstView page, I would be greatly interested.
Cheers.
Bookmarks