<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde</id>
	<title>Creare campi email aggiuntivi nell&#039;Addressbook Turba di Horde - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde&amp;action=history"/>
	<updated>2026-05-06T13:41:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde&amp;diff=8705&amp;oldid=prev</id>
		<title>Gabriele.vivinetto at 12:44, 23 November 2012</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde&amp;diff=8705&amp;oldid=prev"/>
		<updated>2012-11-23T12:44:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:44, 23 November 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[http://wiki.horde.org/TurbaExtraFields Wiki :: TurbaExtraFields]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[http://wiki.horde.org/TurbaOutlook2003 Wiki :: TurbaOutlook2003]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://edeca.net/wp/2010/01/modifying-fields-in-the-turba-addressbook/comment-page-1/#comment-1084 Modifying fields in the Turba addressbook | edeca.net]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://edeca.net/wp/2010/01/modifying-fields-in-the-turba-addressbook/comment-page-1/#comment-1084 Modifying fields in the Turba addressbook | edeca.net]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://msdn.microsoft.com/en-us/library/ee160254(v=exchg.80).aspx Microsoft ActiveSync Addressbook Elements]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[http://msdn.microsoft.com/en-us/library/ee160254(v=exchg.80).aspx Microsoft ActiveSync Addressbook Elements]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde&amp;diff=8704&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: Created page with &quot;* We are adding two fields  Home Email  Work Email  * Check if these attributes are already defined in   turba/config/attributes.php  * Fortunately, they are. If not we need to c…&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Creare_campi_email_aggiuntivi_nell%27Addressbook_Turba_di_Horde&amp;diff=8704&amp;oldid=prev"/>
		<updated>2012-11-23T12:40:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;* We are adding two fields  Home Email  Work Email  * Check if these attributes are already defined in   turba/config/attributes.php  * Fortunately, they are. If not we need to c…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* We are adding two fields&lt;br /&gt;
 Home Email&lt;br /&gt;
 Work Email&lt;br /&gt;
&lt;br /&gt;
* Check if these attributes are already defined in &lt;br /&gt;
 turba/config/attributes.php&lt;br /&gt;
&lt;br /&gt;
* Fortunately, they are. If not we need to create a copy of attributes.php named attributes.local.php and add the new attributes here&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$attributes[&amp;#039;workEmail&amp;#039;] = array(&lt;br /&gt;
    &amp;#039;label&amp;#039; =&amp;gt; _(&amp;quot;Work Email&amp;quot;),&lt;br /&gt;
    &amp;#039;type&amp;#039; =&amp;gt; &amp;#039;email&amp;#039;,&lt;br /&gt;
    &amp;#039;required&amp;#039; =&amp;gt; false,&lt;br /&gt;
    &amp;#039;params&amp;#039; =&amp;gt; array(&amp;#039;allow_multi&amp;#039; =&amp;gt; false, &amp;#039;strip_domain&amp;#039; =&amp;gt; false, &amp;#039;link_com&lt;br /&gt;
);&lt;br /&gt;
$attributes[&amp;#039;homeEmail&amp;#039;] = array(&lt;br /&gt;
    &amp;#039;label&amp;#039; =&amp;gt; _(&amp;quot;Home Email&amp;quot;),&lt;br /&gt;
    &amp;#039;type&amp;#039; =&amp;gt; &amp;#039;email&amp;#039;,&lt;br /&gt;
    &amp;#039;required&amp;#039; =&amp;gt; false,&lt;br /&gt;
    &amp;#039;params&amp;#039; =&amp;gt; array(&amp;#039;allow_multi&amp;#039; =&amp;gt; false, &amp;#039;strip_domain&amp;#039; =&amp;gt; false, &amp;#039;link_com&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now we need to create the new attributes fields in the turba_objects table:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ALTER TABLE `turba_objects`&lt;br /&gt;
ADD `object_homeemail` VARCHAR( 255 ) NOT NULL AFTER `object_email`,&lt;br /&gt;
ADD `object_workemail` VARCHAR( 255 ) NOT NULL AFTER `object_homeemail`&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* After this, we need to define how the new attributes are showed in the user interface. &lt;br /&gt;
* Create a copy of turba/config/backends.php&lt;br /&gt;
 sudo cp turba/config/backends.php turba/config/backends.local.php&lt;br /&gt;
&lt;br /&gt;
* Add the new attributes:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
          &amp;#039;homeEmail&amp;#039; =&amp;gt; &amp;#039;object_homeemail&amp;#039;,&lt;br /&gt;
          &amp;#039;workEmail&amp;#039; =&amp;gt; &amp;#039;object_workemail&amp;#039;,&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Define where they have to be shown:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
          _(&amp;quot;Communications&amp;quot;) =&amp;gt; array(&amp;#039;email&amp;#039;, &amp;#039;homeEmail&amp;#039;,&amp;#039;workEmail&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* And if you want to search these fileds too, add them:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
       &amp;#039;search&amp;#039; =&amp;gt; array(                &lt;br /&gt;
          &amp;#039;name&amp;#039;,                       &lt;br /&gt;
          &amp;#039;email&amp;#039;,&lt;br /&gt;
          &amp;#039;homeEmail&amp;#039;,&lt;br /&gt;
          &amp;#039;workEmail&amp;#039;&lt;br /&gt;
      ), &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://edeca.net/wp/2010/01/modifying-fields-in-the-turba-addressbook/comment-page-1/#comment-1084 Modifying fields in the Turba addressbook | edeca.net]&lt;br /&gt;
*[http://msdn.microsoft.com/en-us/library/ee160254(v=exchg.80).aspx Microsoft ActiveSync Addressbook Elements]&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>