[commits] [Wiki] changed: TurbaExtraFields

Wiki Guest wikiguest at horde.org
Tue Sep 2 08:20:28 UTC 2014


guest [80.190.122.227]  Tue, 02 Sep 2014 08:20:28 +0000

Modified page: http://wiki.horde.org/TurbaExtraFields
New Revision:  2
Change log:  Added Turba 4 config

@@ -1,9 +1,9 @@
  ++How to Configure Turba to Display and Store up to 3 Email Addresses

-+++Applies to: Turba 3 with a mySQL backend.
++++Applies to: Turba 3/4 with a mySQL backend.

-This was driven by the need to store 3 email addresses in Turba to  
ActiveSync with Apple iOS devices, which store up to 3 email addresses  
per contact.
+This was driven by the need to store 3 email addresses in Turba to  
ActiveSync with Apple iOS and Android devices, which store up to 3  
email addresses per contact.

  The default SQL backend defined in backends.php defines only one  
email address:

  <code>'email' => 'object_email'
@@ -45,17 +45,26 @@
  </code>

  Next you will need somewhere to put those email addresses in your  
backend, and you will need to tell Turba about those places in your  
backend.

-In backends.local.php map the extra email attributes to some new SQL fields:
+Turba 3: In backends.local.php map the extra email attributes to some  
new SQL fields:

  <code>
  'email' => 'object_email',
  'homeEmail' => 'object_email2',
  'workEmail' => 'object_email3',
  </code>

-In mySQL create those extra fields - 'object_email3' and  
'object_email2' as varchar(255) and add indexes to speed up searching.  
I use WebMin to manage my server, so adding them is all GUI based. You  
can of course use console 'mysql' commands, that's up to you!
+Turba 4: uncomment "homeEmail" and "workEmail" in backends.local.php
+
+<code>
+'email' => 'object_email',
+'homeEmail' => 'object_homeemail',
+'workEmail' => 'object_workemail',
+</code>
+
+Turba 3: In mySQL create those extra fields - 'object_email3' and  
'object_email2' as varchar(255) and add indexes to speed up searching.  
I use WebMin to manage my server, so adding them is all GUI based. You  
can of course use console 'mysql' commands, that's up to you!
+Turba 4: No need for creating extra fields, they are already there!

  You now have storage for 3 email addresses in your backend, Turba  
has definitions for them, and knows where to store them. If you have  
tabs in your contacts display you will need to add the extra fields so  
they show up on the tab. My Communications tab is set up as follows:

  <code>



More information about the commits mailing list