[turba] Different tabs in Turba

Jan Schneider jan at horde.org
Wed May 28 14:40:47 UTC 2008


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&auml;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.

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



More information about the turba mailing list