Chris Richardson wrote:
> Hey Thomas,
> 
> I installed the newest svn to start testing the address book and I had a
> few questions.
> 
> 1. is it possible to grab more data from ldap or possibly where I might
> define some extra data for lookups.

The local address book doesn't currently support more address fields. For
now, the LDAP data is stuck to that restriction as well. The extension of
the address book is planned and with the new architecture, it should be
easy to grab more data from LDAP directories once RC knows how to display them.

> 2. you wouldnt happen to have a list of changes of the new address book
> merge over the old one?

Beside some minor improvements and simplifications, there are two major
changes:

1) There is a new class 'rcmail_template' which handles all the template
parsing as well as the AJAX responses. All step scripts just pass their
data to $OUTPUT (by calling $OUTPUT->set_env() or $OUTPUT->command()) and
finally call $OUTPUT->send('templatename'). This new class is also supposed
to handle the output encoding of javascript variables. All data should be
passed to $OUTPUT in raw form.

2) The address book now instantiates a class 'rcube_contacts' or
'rcube_ldap' (extends rcube_contacts) according to the selected source.
These classes abstract all access to a address source. This new arhitecture
should make it easier to add new data sources and it enables the
interaction (e.g. copying contacts) between them.

Some more documentation will (hopefully) follow after the release.

~Thomas


Reply via email to