<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2886578407258917274</id><updated>2026-09-22T03:54:58.810-07:00</updated><title type='text'>Vtiger cookbook</title><subtitle type='html'>Your preferred Vtiger cookbook </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vtigercookbook.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://vtigercookbook.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>estevan</name><uri>http://www.blogger.com/profile/12526148343940648316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD9RdrD0ENkFihM712BN9uTSaUWkkoO6ULsloBh9gJscobwrZQugbtyT0t-wmuy46ZNMvP46qEKhn_7e6AgVVh_uOSBsPdXypFcimDz2ITvZMupK6HFJ4cYuALkTfahA/s220/qrcode.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2886578407258917274.post-8607890573123119171</id><published>2012-11-11T02:02:00.003-08:00</published><updated>2012-11-11T05:44:08.049-08:00</updated><title type='text'>Configure incoming Server Config With Gmail (IMAP)</title><content type='html'>&lt;div class=&quot;tr_bq&quot;&gt;
Use this configuration for getting incoming mail from your google[apps] account.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Mail Server: imap.gmail.com&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Username: user@domain.com&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Password: *****&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Mail Protocol: imap 2&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;SSL Options: SSL&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Certificate &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Validations: Do Not Validate SSL Cert&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Refresh Timeout: 1 minute&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Email per Page: 25&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.vtiger.com/blogs/?p=623&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://www.vtiger.com/blogs/?p=623&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://vtigercookbook.blogspot.com/feeds/8607890573123119171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vtigercookbook.blogspot.com/2012/11/configure-incoming-server-config-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/8607890573123119171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/8607890573123119171'/><link rel='alternate' type='text/html' href='http://vtigercookbook.blogspot.com/2012/11/configure-incoming-server-config-with.html' title='Configure incoming Server Config With Gmail (IMAP)'/><author><name>estevan</name><uri>http://www.blogger.com/profile/12526148343940648316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD9RdrD0ENkFihM712BN9uTSaUWkkoO6ULsloBh9gJscobwrZQugbtyT0t-wmuy46ZNMvP46qEKhn_7e6AgVVh_uOSBsPdXypFcimDz2ITvZMupK6HFJ4cYuALkTfahA/s220/qrcode.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2886578407258917274.post-4166350650282986947</id><published>2012-11-11T01:14:00.005-08:00</published><updated>2012-11-11T01:14:43.907-08:00</updated><title type='text'>Customize Vtiger footer </title><content type='html'>If you want customize Vtiger footer open index.php and search for the following lines of code&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;echo &quot;&amp;lt;script language = &#39;JavaScript&#39; type=&#39;text/javascript&#39; src = &#39;include/js/popup.js&#39;&amp;gt;&amp;lt;/script&amp;gt;&quot;;&lt;/span&gt;&lt;blockquote&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;echo &quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;table border=0 cellspacing=0 cellpadding=5 width=100% class=settingsSelectedUI &amp;gt;&quot;;&lt;/span&gt;&lt;blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;echo &quot;&amp;lt;tr&amp;gt;&amp;lt;td class=small align=left&amp;gt;&amp;lt;span style=&#39;color: rgb(153, 153, 153);&#39;&amp;gt;Powered by vtiger CRM &amp;lt;span id=&#39;_vtiger_product_version_&#39;&amp;gt;$vtiger_current_version&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&quot;;&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;echo &quot;&amp;lt;td class=small align=right&amp;gt;&amp;lt;span&amp;gt;&amp;amp;copy; 2004-&quot;.date(&#39;Y&#39;).&quot; &amp;lt;a href=&#39;http://www.vtiger.com&#39; target=&#39;_blank&#39;&amp;gt;vtiger.com&amp;lt;/a&amp;gt; | &amp;lt;a href=&#39;javascript:mypopup()&#39;&amp;gt;&quot;.$app_strings[&#39;LNK_READ_LICENSE&#39;].&quot;&amp;lt;/a&amp;gt; | &amp;lt;a href=&#39;http://www.vtiger.com/products/crm/privacy_policy.html&#39; target=&#39;_blank&#39;&amp;gt;&quot;.getTranslatedString(&#39;LNK_PRIVACY_POLICY&#39;).&quot;&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt; $statimage&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
edit this lines and see new footer&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://vtigercookbook.blogspot.com/feeds/4166350650282986947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vtigercookbook.blogspot.com/2012/11/customize-vtiger-footer.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/4166350650282986947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/4166350650282986947'/><link rel='alternate' type='text/html' href='http://vtigercookbook.blogspot.com/2012/11/customize-vtiger-footer.html' title='Customize Vtiger footer '/><author><name>estevan</name><uri>http://www.blogger.com/profile/12526148343940648316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD9RdrD0ENkFihM712BN9uTSaUWkkoO6ULsloBh9gJscobwrZQugbtyT0t-wmuy46ZNMvP46qEKhn_7e6AgVVh_uOSBsPdXypFcimDz2ITvZMupK6HFJ4cYuALkTfahA/s220/qrcode.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2886578407258917274.post-3650711305234334522</id><published>2012-11-11T00:51:00.003-08:00</published><updated>2016-02-09T05:12:56.582-08:00</updated><title type='text'>Change Page Title</title><content type='html'>&lt;br /&gt;
In this article you can understand how change page title.&lt;br /&gt;
&lt;br /&gt;
For customizing the page title you have to change the value of the string &quot;LBL_BROWSER_TITLE&quot;. &lt;br /&gt;
The string is available in the language file located in /include/language/en_us.lang.php.&lt;br /&gt;
&lt;br /&gt;
(If you are using another language edit the correct language file)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;$app_strings = array (&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;LBL_BROWSER_TITLE&#39; =&amp;gt; &#39;vtiger CRM 5 - Commercial Open Source CRM&#39;,&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;LBL_BROWSER_TITLE&#39; =&amp;gt; &#39;Your custom string&#39;,&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ecf3f7;&quot;&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://vtigercookbook.blogspot.com/feeds/3650711305234334522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vtigercookbook.blogspot.com/2012/11/change-page-title.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/3650711305234334522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/3650711305234334522'/><link rel='alternate' type='text/html' href='http://vtigercookbook.blogspot.com/2012/11/change-page-title.html' title='Change Page Title'/><author><name>estevan</name><uri>http://www.blogger.com/profile/12526148343940648316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD9RdrD0ENkFihM712BN9uTSaUWkkoO6ULsloBh9gJscobwrZQugbtyT0t-wmuy46ZNMvP46qEKhn_7e6AgVVh_uOSBsPdXypFcimDz2ITvZMupK6HFJ4cYuALkTfahA/s220/qrcode.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2886578407258917274.post-4511041395112758507</id><published>2012-10-21T13:54:00.002-07:00</published><updated>2012-11-27T07:23:06.684-08:00</updated><title type='text'>Extending and customize Organization details</title><content type='html'>In this tutorial I would like to explain you how you can simply add some fields in the organization detail module.&lt;br /&gt;
&lt;br /&gt;
Remember that this part of VTiger CRM does not allow custom field features but you need to modify database table and source code related.&lt;br /&gt;
&lt;br /&gt;
Suppose we want add the taxcode field.&lt;br /&gt;
&lt;br /&gt;
First of all you need to alter table&amp;nbsp; vtiger_organizationdetails and add field taxcode like this sample:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;alter table&amp;nbsp; vtiger_organizationdetails add column `taxcode` VARCHAR(50) NULL DEFAULT NULL&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit file /modules/Settings/OrganizationConfig.php and add this piece of code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$organization_taxcode = decode_html($adb-&amp;gt;query_result($result,0,&#39;taxcode&#39;));&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Some row below&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;if (isset($organization_taxcode))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $smarty-&amp;gt;assign(&quot;ORGANIZATIONTAXCODE&quot;,$organization_taxcode);&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit file /modules/Settings/EditCompanyDetails.php&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$organization_taxcode = decode_html($adb-&amp;gt;query_result($result,0,&#39;taxcode&#39;));&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Some row below&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;if (isset($&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;organization_taxcode&lt;/span&gt;))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $smarty-&amp;gt;assign(&quot;ORGANIZATIONTAXCODE&quot;,$&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;organization_taxcode&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit file /modules/Settings/SaveCompany.php&lt;br /&gt;
&lt;br /&gt;
// get from request&lt;br /&gt;
$organization_taxcode = $_REQUEST[&#39;organization_taxcode&#39;];&lt;br /&gt;
Edit and add piece of code in this insert query&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;//insert data&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$organizationId = $this-&amp;gt;db-&amp;gt;getUniqueID(&#39;vtiger_organizationdetails&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sql=&quot;insert into vtiger_organizationdetails(organization_id,organizationname, address, city, state, code, country, phone, fax, website, taxcode) values(?,?,?,?,?,?,?,?&lt;b&gt;,&lt;/b&gt;?,?,&lt;b&gt;?&lt;/b&gt;)&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $params = array($organizationId, $organization_name, $organization_address, $organization_city, $organization_state, $organization_code, $organization_country, $organization_phone, $organization_fax, $organization_website, &lt;b&gt;$&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;organization_&lt;/span&gt;taxcode&lt;/b&gt;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
//Handling update&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $sql=&quot;update vtiger_organizationdetails set organizationname = ?, address = ?, city = ?, state = ?,&amp;nbsp; code = ?, country = ?,&amp;nbsp; phone = ?,&amp;nbsp; fax = ?,&amp;nbsp; website = ?, &lt;b&gt;taxcode = ?&lt;/b&gt; where organizationname = ?&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $params = array($organization_name, $organization_address, $organization_city, $organization_state, $organization_code, $organization_country, $organization_phone, $organization_fax, $organization_website, &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;$&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;organization_&lt;/span&gt;taxcode&lt;/b&gt;&lt;/span&gt;,&lt;/b&gt; $org_name);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5)vtigercrm/modules/Settings/add2db.php&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;if($saveflag==&quot;true&quot;)&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$organization_logo=from_html($_REQUEST[&#39;organization_logo&#39;]); &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$organization_taxcode=from_html($_REQUEST[&#39;organization_taxcode&#39;]);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;if($org_name==&#39;&#39;)&lt;br /&gt;{&lt;br /&gt;$organizationId = $this-&amp;gt;db-&amp;gt;getUniqueID(&#39;vtiger_organizationdetails&#39;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $sql=&quot;INSERT INTO vtiger_organizationdetails&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; (organization_id,organizationname, address, city, state, code, country, phone, fax, website, logoname, &lt;b&gt;taxcode&lt;/b&gt;) values (?,?,?,?,?,?,?,?,?,?,&lt;b&gt;?&lt;/b&gt;)&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $params = array($organizationId,$organization_name, $organization_address, $organization_city, $organization_state, $organization_code,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $organization_country, $organization_phone, $organization_fax, $organization_website, $organization_logoname, &lt;b&gt;$taxcode&lt;/b&gt;);&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;....&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Some row below&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$sql = &quot;UPDATE vtiger_organizationdetails&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SET organizationname = ?, address = ?, city = ?, state = ?, code = ?, country = ?, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;phone = ?, fax = ?, website = ?, logoname = ?, &lt;b&gt;taxcode=?&lt;/b&gt; WHERE organizationname = ?&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$params = array($organization_name, $organization_address, $organization_city, $organization_state, $organization_code, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$organization_country, $organization_phone, $organization_fax, $organization_website, decode_html($organization_logoname), &lt;b&gt;$taxcode,&lt;/b&gt; $org_name);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit template /Smarty/templates/Settings/CompanyInfo.tpl &lt;br /&gt;
&lt;br /&gt;
Add this line of code for inserting this new field&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&quot;20%&quot; class=&quot;small cellLabel&quot;&amp;gt;&amp;lt;strong&amp;gt;{$MOD.LBL_ORGANIZATION_TAXCODE}&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&quot;80%&quot; class=&quot;small cellText&quot;&amp;gt;{$ORGANIZATIONTAXCODE}&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit template&amp;nbsp; /Smarty/templates/Settings/EditCompanyInfo.tpl&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td class=&quot;small cellLabel&quot;&amp;gt;&amp;lt;strong&amp;gt;{$MOD.LBL_ORGANIZATION_TAXCODE}&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td class=&quot;small cellText&quot;&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;text&quot; name=&quot;organization_taxcode&quot; class=&quot;detailedViewTextBox small&quot; value=&quot;{$ORGANIZATIONTAXCODE}&quot;&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add custom language translation in file vtigercrm/modules/Settings/language/XXXXXXX&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&#39;LBL_ORGANIZATION_TAXCODE&#39; =&amp;gt; &#39;Tax code&#39;,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Setting header report &lt;br /&gt;
/include/InventoryPDFController.php&lt;br /&gt;
&lt;br /&gt;
find function buildHeaderModelColumnLeft&lt;br /&gt;
&lt;br /&gt;
and add this line&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $modelColumnLeft = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;logo&#39; =&amp;gt; &quot;test/logo/&quot;.$resultrow[&#39;logoname&#39;],&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;summary&#39; =&amp;gt; decode_html($resultrow[&#39;organizationname&#39;]) . &lt;br /&gt;&quot;\n&quot;.getTranslatedString(&quot;LBL_ORGANIZATION_TAXCODE&quot;, &lt;b&gt;&quot;Settings&quot;&lt;/b&gt;).&quot; &quot;. $resultrow[&#39;taxcode&#39;]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ,&#39;content&#39; =&amp;gt; $this-&amp;gt;joinValues($addressValues, &#39; &#39;). $this-&amp;gt;joinValues($additionalCompanyInfo, &#39; &#39;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://vtigercookbook.blogspot.com/feeds/4511041395112758507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vtigercookbook.blogspot.com/2012/10/extending-and-customize-organization.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/4511041395112758507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2886578407258917274/posts/default/4511041395112758507'/><link rel='alternate' type='text/html' href='http://vtigercookbook.blogspot.com/2012/10/extending-and-customize-organization.html' title='Extending and customize Organization details'/><author><name>estevan</name><uri>http://www.blogger.com/profile/12526148343940648316</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD9RdrD0ENkFihM712BN9uTSaUWkkoO6ULsloBh9gJscobwrZQugbtyT0t-wmuy46ZNMvP46qEKhn_7e6AgVVh_uOSBsPdXypFcimDz2ITvZMupK6HFJ4cYuALkTfahA/s220/qrcode.png'/></author><thr:total>1</thr:total></entry></feed>