[imp] Compose and the default Address Book
Torbjorn Grindhaug
grindhaug at gmail.com
Thu Oct 25 11:55:27 UTC 2007
I've tried changing these settings, but with no luck.
There is one thing we have noticed though. When reversing the display
order of the addressbooks in turba (putting the shared
ldap-addressbook first), then the localsql-addressbook will be the one
used as default in the compose-window in imp. But now, as we don't
have the shared-addressbook set as browseable in sources.php, it will
show an error-message pressing "browse" in turba.
For me it seems like the turba browsefunction chooses the "right"
addressbook, but the imp-compose-addressbook-function chooses the
other.
Any ideas?
On 10/22/07, Andrew Morgan <morgan at orst.edu> wrote:
> 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