Quoting Michael J Rubinsky <[email protected]>:

Quoting Francine Bolduc <[email protected]>:

Michael J Rubinsky <mrubinsk <at> horde.org> writes:



Quoting Francine.Bolduc <at> ti.csaffluents.qc.ca:

Hi !

Horde 5 and IMP 6 work good but I have always a little problem. Impossible
to save the sender's address in the personal address book. The message is
: "Invalide address book : localsql".

If I go to the options of IMP and save the parameters of "Address book",
there is not problem anymore


Here is a part of imp/prefs.local.php :

$_prefs['search_sources']['value'] = json_encode(array(
        'localsql',
        'ldapEmpl',
        'ldapEle',
        'csaSympa'));

$_prefs['search_fields']['value'] =  json_encode(array(
        'localsql' => array('name', 'firstname', 'email'),
        'ldapEmpl' => array('name', 'firstname', 'email'),
        'ldapEle' => array('name', 'firstname', 'email'),
        'csaSympa' => array('name', 'firstname', 'email')));

$_prefs['add_source']['value'] = 'localsql';

'localsql' is obviously not a valid value for this preference in your
installation. This won't work if you are using shares in Turba.

Ok but if I don't set the value (I leave the default value), I have the same
message.

Sure, because you haven't defined an address book for the user to use as the add_source.


And if the preference "add_source" is set for a user in the table
"horde_prefs", it is working (no error message). Is there another parameter
to set in order to fix my problem?

If I do use Turba shares, how should I configure all this so that users can
add contact directly from a message?

Users need to select their add_source pref using the UI, just like any other preference.

....and if you want to provide a sensible default for this to work out of the box, with shared address books, read the comments in imp/config/prefs.php.




--
mike

The Horde Project (www.horde.org)
[email protected]

Attachment: binA4JJV8KTcO.bin
Description: PGP Public Key

Attachment: smime.p7s
Description: S/MIME Signature

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to