[imp] Setting a Default Addressbook

Jon Parise jon@horde.org
Thu, 3 Jan 2002 16:41:58 -0500


On Thu, Jan 03, 2002 at 04:24:11PM -0500, Joshua E Warchol wrote:

> I've got IMP3 and Turba1 installed. I'd like to have the users default
> addressbook by "My Addressbook", the local SQL one. What options do I need
> to set in prefs.php? Usually I just go into the options interface and select
> it, but that didn't help me find the correct default values.
 
In imp/config/prefs.php:

// addressbook(s) to use when expanding addresses
$_prefs['search_sources'] = array(
    'value' => '',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

// field(s) to use when expanding addresses
$_prefs['search_fields'] = array(
    'value' => '',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

// addressbook to use for adding adresseses
$_prefs['add_source'] = array(
    'value' => '',
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member