[imp] Can't fully set default address book.
Dan H
dhammer at kdhtech.com
Thu Aug 5 01:31:24 PDT 2004
I am running the Alpha release of IMP and I am trying to set the default
address book and search fields. When I go into options in IMP and open
up the addressbook area I see "My Addressbook" selected by default which I
want BUT name and email are not makred as selected.
This is what I have in imp/config/prefs.php
$_prefs['search_sources'] = array(
'value' => 'localsql',
'locked' => false,
'shared' => false,
'type' => 'implicit');
$_prefs['search_fields'] = array(
'value' => 'localsql\tname\temail',
'locked' => false,
'shared' => false,
'type' => 'implicit');
$_prefs['add_source'] = array(
'value' => 'localsql',
'locked' => false,
'shared' => false,
'type' => 'implicit'
);
and in turba/config/sources.php I have this...
$cfgSources['localsql'] = array(
'title' => _("My Addressbook"),
'type' => 'sql',
'params' => array_merge($conf['sql'], array('table' => 'turba_objects')),
'map' => array(
'__key' => 'object_id',
'__owner' => 'owner_id',
'__type' => 'object_type',
'__members' => 'object_members',
'name' => 'object_name',
'email' => 'object_email',
'alias' => 'object_alias',
'homeAddress' => 'object_homeaddress',
'workAddress' => 'object_workaddress',
'homePhone' => 'object_homephone',
'workPhone' => 'object_workphone',
'cellPhone' => 'object_cellphone',
'fax' => 'object_fax',
'title' => 'object_title',
'company' => 'object_company',
'notes' => 'object_notes',
'pgpPublicKey' => 'object_pgppublickey',
'smimePublicKey' => 'object_smimepublickey',
'freebusyUrl' => 'object_freebusyurl'
),
'search' => array(
'name',
'email'
),
'strict' => array(
'object_id',
'owner_id',
'object_type',
),
'public' => false,
'readonly' => false,
'admin' => array(),
'export' => true
);
Can you see any reason why email and name are not marked? I was trying to
make it easy on people. I know most users will not think to mark a
default address book.
Thanks,
Dan
More information about the imp
mailing list