[dev] Address Book Import again.
Jan Schneider
janmailing@gmx.de
Mon, 27 Aug 2001 23:04:04 +0200
A quick solution would be (as I did): Expand your backend (sql table) to handle
all the fields you need from wab. Then change the map array in sources.php
accordingly.
What's left is to change templates/add and templates/display.
It would probably a good idea to handle custom fields dynamically and to give
them a "type" like email address, phone number, text field ...
At least that's something I'd really like to add to turba.
Jan.
Zitat von Michael Cochrane <mike@graftonhall.co.nz>:
> I understand and have been using that.
> But against a name there can be more than multiple email address stored in
> the windows address book.
> I'm wondering whether i should just ignore the other email addresses
> (doesn't sound like a good plan) or for each email address create a copy of
> the contact subsitituting each email address, at the same time possibly
> motifying the name to add "(defualt)" to the contact that contains the
> default email address.
> If any of the makes sense :-)
> Or I'm open to any other suggestions..
>
> Mike
>
>
> ----- Original Message -----
> From: "Jan Schneider" <janmailing@gmx.de>
> To: <dev@lists.horde.org>
> Sent: Tuesday, August 28, 2001 8:21 AM
> Subject: Re: [dev] Address Book Import again.
>
>
> Zitat von Michael Cochrane <mike@graftonhall.co.nz>:
>
> > Two queries:
> > 1. How should multiple email addresses for a contact be handled? Just
> take
> > the first one? Add the contact multiple times with different email
> address?
> > Previous one but modifying the name to in "(default)" after the default
> > email address? Any suggestions?
>
> Neither of them. Take a look at what currently happens between IMPORT_CSV
> and
> IMPORT_MAPPED in data.php. Let the user have the choice what fields to
> import.
> cvsmap.inc is that flexible that it can handle more than the standard
> fields,
> if there are more defined in sources.php and the backend.
>
> Jan.
>
> --
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
>
>
>
> --
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
>
>
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::