[turba] Re: Adding Fields to Turba

Gilad Buzi gilad.buzi at concatel.com
Tue Sep 7 00:26:18 PDT 2004


yes, edwin. this is the way to add fields, but as far as joining two 
fields into one (a composite field like fullName = firstName+lastName), 
i'm don't think there's a way...at least not a stadard way.. or is 
there? any help appreciated.

salut,
/gilad

Edwin Culp wrote:
> Quoting "Michael J. Pawlowsky" <mikejp at videotron.ca>:
> 
>> I've been trying to figure it out.
>> I've added the fields in the database.
>> Mapped them out in the conf file but nohing shows up.
>> If anyone has any examples it would be very appreciated.
> 
> 
> I've done this with ldap by adding them in sources.php and then
> in attributes.php both files are in horde/turba/config.  In ldap
> an entry looks something like the following:
> in sources.php I have the ldap attribute "l" assigned to
> homeCity.
> 'homeCity' => 'l',
> 
> in attributes.php it for the same I have:
> 
> $attributes['homeCity'] = array(
>     'label' => _("Home City"),
>     'type' => 'text',
>     'required' => false
> );
> 
> They must appear in both files and your database, at least that
> is the way it is in ldap.
> 
> I hope this gets you started.
> 
> ed
> 
>>
>> Regards,
>> Mike
>>
>>
>>
>> Gilad Buzi wrote:
>>
>>> Mike,
>>> Have you had any success doing this?
>>> I don't understand how to use composite fields in the config.
>>>
>>> Any clues?
>>>
>>> /gilad
>>>
>>> Michael J. Pawlowsky wrote:
>>>
>>>>
>>>> Thanks for the reply...  I will try and change it.
>>>> It would not be bad to have it default from install with 
>>>> standardized fields that come out of most contact software exports.
>>>> I've noticed that many of them all use the same fields.
>>>>
>>>> Cheers,
>>>> Mike
>>>>
>>>>
>>>>
>>>> Chuck Hagenbuch wrote:
>>>>
>>>>> Quoting "Michael J. Pawlowsky" <mikejp at videotron.ca>:
>>>>>
>>>>>> I'm just wondering how hard it would be to add some fields to turba.
>>>>>>
>>>>> All of this is achievable by adding the appropriate fields to your 
>>>>> backend,
>>>>> editing your config files, and using composite fields where 
>>>>> appropriate. No
>>>>> code changes needed.
>>>>>
>>>>> -chuck
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>> -- 
>> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>>
> 
> 
> 



More information about the turba mailing list