[imp] Compose and the default Address Book

Andrew Morgan morgan at orst.edu
Mon Oct 22 16:51:57 UTC 2007


On Mon, 22 Oct 2007, Torbjorn Grindhaug wrote:

> I've also run into the problem mentioned in this one year old post.
> We use a personal localsql addressbook and a shared LDAP-addressbook.
> The default addressbook is set to the local one, but still it lists
> the shared one in the compose-window.

I also have a localsql MySQL addressbook and a shared LDAP directory. 
However, I see the localsql addressbook as the default when I open "New 
Message" -> "Address Book".

I looked through my config files and found the following references to 
localsql.  I'm not sure which one controls this feature:

imp/config/prefs.php:

// address book to use for adding addresses
// put $cfgSources array element name in the value field.
// Setting value to localsql would allow you to add contacts to MySQL database
// See turba/config/sources.php for more info
$_prefs['add_source'] = array(
//    'value' => '',
     'value' => 'localsql',
     'locked' => false,
     'shared' => true,
     'type' => 'implicit'
);


turba/config/prefs.php:

// columns to be displayed
$_prefs['columns'] = array(
     'value' => "localldap\temail\nlocalsql\temail",
     'locked' => false,
     'shared' => false,
     'type' => 'implicit',
);

// Default directory
$_prefs['default_dir'] = array(
     'value' => 'localsql',
     'locked' => false,
     'shared' => true,
     'type' => 'select',
     'desc' => _("This will be the default address book when adding or 
importing contacts."),
);



Hopefully this gets you started.

 	Andy


More information about the imp mailing list