Zitat von Pieterjan Heyse <[EMAIL PROTECTED]>:

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Namens Jan Schneider
Verzonden: maandag 17 november 2008 16:29
Aan: [email protected]
Onderwerp: Re: [imp] imp address book default settings not working.

Zitat von Pieterjan Heyse <[EMAIL PROTECTED]>:

> Hi folks,
>
>
>
> I am currently configuring dimp and imp in a new installation for my
> users. All is going well, except for the default address book
> settings in imp (Options for mail -> address books). I would like to
> expand my email addresses using 'email' and 'name' , and use the
> address book 'localsql' as the address book to use when adding
> addresses. My configuration parameters are at the bottom of this
mail.

There is no address book id called 'localsql', if you use that as the
shared address book source. Each user has a different address book id
for a share created in localsql.

Jan.

The source 'localsql' is a private, per-user address book. I have it
defined in sources.php like this:

$cfgSources['localsql'] = array(
....

I would like to see this address bookselected as the default address
book to add new addresses and to use for address expansion. I know this
is a user specific address book, but there must be a way to define it in
the settings; so that all users use their own private address book for
expansion, right?

This happens by default, if you don't set any default value for the preference.

I would like to quote the imp/prefs.php file to show that the
explanation show me to use 'localsql' as an identifier for this address
book (I know the internal id in turba_objects is user dependant)

// 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' => "localsql",
    'locked' => false,
    'shared' => true,
    'type' => 'implicit');


I would say that the $cfgSources array element name is localsql, or is
it not?

No, it's not. Please see the mailing list archive for a more detailed explanation.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to