i am trying to customize a pop-up for contacts, i added the next fields (first_name', 'last_name', 'account_name','department','primary_adress_countr y','idioma_c','email','description','primary_adres s_street','primary_adress_city','phone_work','phon e_home') to basic search and it works... the problem comes when adding this fields to the list view , and don `t appears
i added to the listviewdefs in popupsdefs.php and i can ` t see the fields in view ...
other problem is that i added the field (email) , and don `t appears....

can u help me?

thanks


global $mod_strings;
//**aqui modificamos para que salga el campo contacts.department**/
$popupMeta = array('moduleMain' => 'Contact',
'varName' => 'CONTACT',
'orderBy' => 'contacts.first_name, contacts.last_name',
'whereClauses' =>
array('first_name' => 'contacts.first_name',
'last_name' => 'contacts.last_name',
'account_name' => 'accounts.name',
'account_id' => 'accounts.id'),
'searchInputs' =>
array('first_name', 'last_name', 'account_name','department','primary_adress_countr y','idioma_c','email','description','primary_adres s_street','primary_adress_city','phone_work','phon e_home'),
'create' =>
array('formBase' => 'ContactFormBase.php',
'formBaseClass' => 'ContactFormBase',
'getFormBodyParams' => array('','','ContactSave'),
'createButton' => $mod_strings['LNK_NEW_CONTACT']
),
'listviewdefs' => array(
'NAME' => array(
'width' => '20%',
'label' => 'LBL_LIST_NAME',
'link' => true,
'default' => true,
'related_fields' => array('first_name','last_name','account_name','dep artment','primary_adress_country','idioma_c','emai l_address','description','primary_adress_street',' primary_adress_city','phone_work','phone_home')),
'ACCOUNT_NAME' => array(
'width' => '25',
'label' => 'LBL_LIST_ACCOUNT_NAME',
'module' => 'Accounts',
'id' => 'ACCOUNT_ID',
'default' => true,
'sortable'=> true,
'ACLTag' => 'ACCOUNT',
'related_fields' => array('account_id')),
'TITLE' => array(
'width' => '15%',
'label' => 'LBL_LIST_TITLE',
'default' => true),
'LEAD_SOURCE' => array(
'width' => '15%',
'label' => 'LBL_LEAD_SOURCE',
'default' => true),
),
'searchdefs' => array(
'first_name',
'last_name',
'account_name',
'title',
'lead_source',
'campaign_name',
'department',
'primary_adress_country',
'idioma_c',
'email',
'description',
'primary_adress_street',
'primary_adress_city',
'phone_work',
'phone_home',

array('name' => 'assigned_user_id', 'type' => 'enum', 'label' => 'LBL_ASSIGNED_TO', 'function' => array('name' => 'get_user_array', 'params' => array(false))),
)
);
?>