[turba] TurbaOutlook2003 + Turba 2.1.3 (HGWE 1.0)=Contact Lists - cant add

Jan Schneider jan at horde.org
Fri Apr 13 09:50:00 UTC 2007


Zitat von ALFREDO GONZALEZ <got2go at msn.com>:

>
>> >
>> > Hmm, ok. Any suggestions for a quick fix ?
>>
>> Don't use a composite name field, but a real name field. Or use the
>> CVS version.
>>
>> > Or can a patch be added to that Wiki for TurbaOutlook2003 ?
>>
>> Sure, go ahead, it's a wiki.
>
> Jan,
>
> I'm not really familiar enough with the programming to come up with the fix.
> I already looked around to see where the function to add a contact list
> record is.
> I think I found it, but it's not clear to me where the code is that selects
> the DB column to use for the contact list name.
>
> I'm thinking that the code can be changed so that it uses the First Name
> field, instead of the 'name' field (which after the mod is now composite).

No, Turba will always use 'name' and shouldn't be changed. You need to  
take care that the 'name' field is writable though. Since the Outlook  
scheme uses a composite field for 'name' and composite fields aren't  
writable in the release version, this won't work.

> If so, would it be a matter of simply changing a variable that specifies the
> field to use, to 'object_first_name' ?
>
> Could you be so kind and point me in the right direction ?
> (or as specific as you care or have the time to be ?)

Just don't use a composite setting for the 'name' field, but use it as  
a regular field like in the default address book scheme.

Jan.

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



More information about the turba mailing list