[turba] Different tabs in Turba
Jan Schneider
jan at horde.org
Wed May 28 15:08:49 UTC 2008
Zitat von Christian Mimberg <Maumi at gmx.de>:
>
> -------- Original-Nachricht --------
>> Datum: Wed, 28 May 2008 16:56:19 +0200
>> Von: Jan Schneider <jan at horde.org>
>> An: turba at lists.horde.org
>> Betreff: Re: [turba] Different tabs in Turba
>
>> Zitat von Christian Mimberg <Maumi at gmx.de>:
>>
>> >
>> > -------- Original-Nachricht --------
>> >> Datum: Wed, 28 May 2008 16:40:47 +0200
>> >> Von: Jan Schneider <jan at horde.org>
>> >> An: turba at lists.horde.org
>> >> Betreff: Re: [turba] Different tabs in Turba
>> >
>> >> Zitat von Christian Mimberg <Maumi at gmx.de>:
>> >>
>> >> > Hello,
>> >> >
>> >> > I have configed my turba, so that there are different tabs when a
>> >> > contact is shown. After I have updatet to the newest version, the
>> >> > second tab is empty.
>> >> >
>> >> > Here are my sources.php and my attributes.php:
>> >> >
>> >> > Sources.php
>> >> >
>> >> > $cfgSources['localsql'] = array(
>> >> > 'title' => _("My Address Book"),
>> >> > 'type' => 'sql',
>> >> > 'params' => array_merge($conf['sql'], array('table' =>
>> >> 'turba_objects')),
>> >> > 'map' => array(
>> >> > '__key' => 'object_id',
>> >> > '__owner' => 'owner_id',
>> >> > '__type' => 'object_type',
>> >> > '__members' => 'object_members',
>> >> > '__uid' => 'object_uid',
>> >> > 'name' => 'object_name',
>> >> > 'email' => 'object_email',
>> >> > 'birthday' => 'object_birthday',
>> >> > 'homePhone' => 'object_homephone',
>> >> > 'cellPhone' => 'object_cellphone',
>> >> > 'fax' => 'object_fax',
>> >> > 'germanCellPhone' => 'object_germanCellPhone',
>> >> > 'homeAddress' => 'object_homeaddress',
>> >> > 'company' => 'object_company',
>> >> > 'workAddress' => 'object_workaddress',
>> >> > 'workEmail' => 'object_workemail',
>> >> > 'workPhone' => 'object_workphone',
>> >> > 'workCellPhone' => 'object_workcellphone',
>> >> > 'workFax' => 'object_workfax',
>> >> > 'notes' => 'object_notes'
>> >> > ),
>> >> > 'tabs' => array(
>> >> > 'Privat' => array('name', 'email', 'birthday',
>> >> > 'homePhone', 'cellPhone', 'fax', 'germanCellPhone','homeAddress'),
>> >> > 'Geschäftlich' => array('company',
>> >> > 'workEmail', 'workPhone', 'workCellPhone', 'workFax', 'workAddress')
>> >> > ),
>> >>
>> >> This should work fine. Just a wild guess, but did you try to not use a
>> >> html entity in the second tab descriptor?
>> >>
>> >> Jan.
>> >
>> > Sorry, I don´t understand that. What does html entity mean and where
>> > can I config that?
>>
>> The ä in Geschäftlich.
>>
>> Jan.
>>
>
> Yes, that is the problem. If I remove that, everthing works fine.
> But how can I implement a german "ä"?
First of all, report a bug a bugs.horde.org. As a work around, save
the ä as-is, but make sure to save the sources.php file utf-8 encoded.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the turba
mailing list