<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>石刻板</title>
	<atom:link href="http://shike.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://shike.me</link>
	<description>好记性不如烂笔头</description>
	<lastBuildDate>Sat, 11 Feb 2012 18:35:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Thinkpad T410i音量快捷键调整音量事屏幕不显示音量大小的数字</title>
		<link>http://shike.me/2012/02/thinkpad-t410i%e9%9f%b3%e9%87%8f%e5%bf%ab%e6%8d%b7%e9%94%ae%e8%b0%83%e6%95%b4%e9%9f%b3%e9%87%8f%e4%ba%8b%e5%b1%8f%e5%b9%95%e4%b8%8d%e6%98%be%e7%a4%ba%e9%9f%b3%e9%87%8f%e5%a4%a7%e5%b0%8f%e7%9a%84/</link>
		<comments>http://shike.me/2012/02/thinkpad-t410i%e9%9f%b3%e9%87%8f%e5%bf%ab%e6%8d%b7%e9%94%ae%e8%b0%83%e6%95%b4%e9%9f%b3%e9%87%8f%e4%ba%8b%e5%b1%8f%e5%b9%95%e4%b8%8d%e6%98%be%e7%a4%ba%e9%9f%b3%e9%87%8f%e5%a4%a7%e5%b0%8f%e7%9a%84/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 15:47:30 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://shike.me/?p=382</guid>
		<description><![CDATA[去年将T410自带的win7家庭版升级到旗舰版后，音量、麦克风等调节时，屏幕均不显示提示信息，用起来很别捏，网上搜索了一下大部分都是说驱动未更新所致。 今天更新了一下ThinkPad ACPI电源管理驱动(Windows 7/Vista/XP)和集成System Interface的Hotkey驱动程序(Windows 7/Vista/XP 32-bit,64-bit/2000) 驱动后，重启电脑，提示信息又回来了～ &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>去年将T410自带的win7家庭版升级到旗舰版后，音量、麦克风等调节时，屏幕均不显示提示信息，用起来很别捏，网上搜索了一下大部分都是说驱动未更新所致。</p>
<p>今天更新了一下<a href="http://think.lenovo.com.cn/support/driver/detail.aspx?DEditid=2618&amp;docTypeID=DOC_TYPE_DRIVER&amp;osid=231&amp;treeid=3052400" target="_blank">ThinkPad ACPI电源管理驱动(Windows 7/Vista/XP)</a>和<a href="http://think.lenovo.com.cn/support/driver/detail.aspx?DEditid=2666&amp;docTypeID=DOC_TYPE_DRIVER&amp;osid=231&amp;treeid=3052400" target="_blank">集成System Interface的Hotkey驱动程序(Windows 7/Vista/XP 32-bit,64-bit/2000) </a>驱动后，重启电脑，提示信息又回来了～</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/thinkpad-t410i%e9%9f%b3%e9%87%8f%e5%bf%ab%e6%8d%b7%e9%94%ae%e8%b0%83%e6%95%b4%e9%9f%b3%e9%87%8f%e4%ba%8b%e5%b1%8f%e5%b9%95%e4%b8%8d%e6%98%be%e7%a4%ba%e9%9f%b3%e9%87%8f%e5%a4%a7%e5%b0%8f%e7%9a%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>无线局域网拷贝速度为何只有2M?</title>
		<link>http://shike.me/2012/02/%e6%97%a0%e7%ba%bf%e5%b1%80%e5%9f%9f%e7%bd%91%e6%8b%b7%e8%b4%9d%e9%80%9f%e5%ba%a6%e4%b8%ba%e4%bd%95%e5%8f%aa%e6%9c%892m/</link>
		<comments>http://shike.me/2012/02/%e6%97%a0%e7%ba%bf%e5%b1%80%e5%9f%9f%e7%bd%91%e6%8b%b7%e8%b4%9d%e9%80%9f%e5%ba%a6%e4%b8%ba%e4%bd%95%e5%8f%aa%e6%9c%892m/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 14:33:05 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[网谈]]></category>

		<guid isPermaLink="false">http://shike.me/?p=384</guid>
		<description><![CDATA[周五佳哥问到局域网大文件拷贝速度慢的问题，以前也没特别在意局域网拷贝的速度问题，今天测试了一下发现，有线网到无线网速度只有2.4M左右，后来改为11n，大概是之前的2-3倍，速度可以到7M，基本和有线网的速度差不多了。但反向复制文件，速度只有5M，无论如何测试，也提升不到7M，原因未知。 &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>周五佳哥问到局域网大文件拷贝速度慢的问题，以前也没特别在意局域网拷贝的速度问题，今天测试了一下发现，有线网到无线网速度只有2.4M左右，后来改为11n，大概是之前的2-3倍，速度可以到7M，基本和有线网的速度差不多了。但反向复制文件，速度只有5M，无论如何测试，也提升不到7M，原因未知。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/%e6%97%a0%e7%ba%bf%e5%b1%80%e5%9f%9f%e7%bd%91%e6%8b%b7%e8%b4%9d%e9%80%9f%e5%ba%a6%e4%b8%ba%e4%bd%95%e5%8f%aa%e6%9c%892m/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>squirrelmail汉化</title>
		<link>http://shike.me/2012/02/squirrelmail%e6%b1%89%e5%8c%96/</link>
		<comments>http://shike.me/2012/02/squirrelmail%e6%b1%89%e5%8c%96/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 14:26:06 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[主机]]></category>

		<guid isPermaLink="false">http://shike.me/?p=377</guid>
		<description><![CDATA[[root@server ~]# cd /var/www/html/squirrelmail-1.4.22/config [root@server config]# ./conf.pl SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Main Menu -- 1. Organization Preferences 2. Server Settings 3. Folder Defaults 4. General Options 5. Themes 6. Address Books 7. Message of the Day (MOTD) 8. Plugins 9. Database 10. Languages D. Set pre-defined settings for specific IMAP servers C [...]]]></description>
			<content:encoded><![CDATA[<pre>[root@server ~]# cd /var/www/html/squirrelmail-1.4.22/config
[root@server config]# ./conf.pl
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages</pre>
<pre>D. Set pre-defined settings for specific IMAP servers</pre>
<pre>C Turn color on
S Save data
Q Quit</pre>
<pre>Command &gt;&gt; 10
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1. Default Language : en_US
2. Default Charset : iso-8859-1
3. Enable lossy encoding : false</pre>
<pre>R Return to Main Menu
C Turn color on
S Save data
Q Quit</pre>
<pre>Command &gt;&gt; 1</pre>
<pre>SquirrelMail attempts to set the language in many ways. If it
can not figure it out in another way, it will default to this
language. Please use the code for the desired language.</pre>
<pre>[en_US]: zh_CN
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1. Default Language : zh_CN
2. Default Charset : iso-8859-1
3. Enable lossy encoding : false</pre>
<pre>R Return to Main Menu
C Turn color on
S Save data
Q Quit</pre>
<pre>Command &gt;&gt; 2</pre>
<pre>This option controls what character set is used when sending
mail and when sending HTML to the browser.</pre>
<pre>This option is used only when default language is 'en_US'.</pre>
<pre>[iso-8859-1]: gb2312
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1. Default Language : zh_CN
2. Default Charset : gb2312
3. Enable lossy encoding : false</pre>
<pre>R Return to Main Menu
C Turn color on
S Save data
Q Quit</pre>
<pre>Command &gt;&gt; s</pre>
<pre>Data saved in config.php
Press enter to continue...
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1. Default Language : zh_CN
2. Default Charset : gb2312
3. Enable lossy encoding : false</pre>
<pre>R Return to Main Menu
C Turn color on
S Save data
Q Quit</pre>
<pre>Command &gt;&gt; q</pre>
<pre>Exiting conf.pl.
You might want to test your configuration by browsing to

http://your-squirrelmail-location/src/configtest.php

Happy SquirrelMailing!</pre>
<p>&nbsp;</p>
<p>cd /var/www/html/squirrelmail/config<br />
./conf.pl<br />
选择10 设置语言为zh_CN<br />
默认字符集为gb2312<br />
保存退出，重新刷新webmail页面，就成中文了<br />
但是登录进入后，左边的Drafts，sent，trash还是英文<br />
修改/var/www/html/squirrelmail/local/zh_CN/LC_MESSAGES/<span style="text-decoration: underline;"><strong><span style="color: #ff0000;">squirrelmail</span></strong></span>.po，<br />
增加msgid和msgstr,<br />
修改完毕后，用 msgfmt -o <span style="text-decoration: underline;"><strong><span style="color: #ff0000;">squirrelmail</span></strong></span>.mo <span style="text-decoration: underline;"><strong><span style="color: #ff0000;">squirrelmail</span></strong></span>.po 来格式化一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/squirrelmail%e6%b1%89%e5%8c%96/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vtiger CRM 5.3截取中文字符串出现乱码的解决方法</title>
		<link>http://shike.me/2012/02/vtiger-crm-5-3%e6%88%aa%e5%8f%96%e4%b8%ad%e6%96%87%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%87%ba%e7%8e%b0%e4%b9%b1%e7%a0%81%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/</link>
		<comments>http://shike.me/2012/02/vtiger-crm-5-3%e6%88%aa%e5%8f%96%e4%b8%ad%e6%96%87%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%87%ba%e7%8e%b0%e4%b9%b1%e7%a0%81%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 05:15:58 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[vtigercrm]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://shike.me/?p=372</guid>
		<description><![CDATA[打开文件/include/utils/ListViewUtils.php 找到第4283行，红色部分为新增代码，修改如下： }elseif(strlen($field_val) &#62; $listview_max_textlength) { if($default_charset == 'UTF-8'){ $temp_val = mb_substr($field_val, 0, $listview_max_textlength, $default_charset).'...'; }else{ $temp_val = substr(preg_replace("/(&#60;\/?)(\w+)([^&#62;]*&#62;)/i","",$field_val),0,$listview_max_textlength).'...'; } } } else { 注意：请确保php开启了mb_substr函数支持。 在php.ini中找到“;extension=php_mbstring.dll”去掉前面的分号“;”，然后重启服务即可]]></description>
			<content:encoded><![CDATA[<p>打开文件/include/utils/ListViewUtils.php</p>
<p>找到第4283行，红色部分为新增代码，修改如下：</p>
<pre>}elseif(strlen($field_val) &gt; $listview_max_textlength) {
 <span style="color: #ff0000;">if($default_charset == 'UTF-8'){</span>
<span style="color: #ff0000;"> $temp_val = mb_substr($field_val, 0, $listview_max_textlength, $default_charset).'...';</span>
<span style="color: #ff0000;"> }else{</span>
 $temp_val = substr(preg_replace("/(&lt;\/?)(\w+)([^&gt;]*&gt;)/i","",$field_val),0,$listview_max_textlength).'...';
<span style="color: #ff0000;"> }</span>
 }
 } else {</pre>
<pre></pre>
<p>注意：请确保php开启了mb_substr函数支持。</p>
<p>在php.ini中找到“;extension=php_mbstring.dll”去掉前面的分号“;”，然后重启服务即可</p>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/vtiger-crm-5-3%e6%88%aa%e5%8f%96%e4%b8%ad%e6%96%87%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%87%ba%e7%8e%b0%e4%b9%b1%e7%a0%81%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vtigercrm数据导出csv乱码修复</title>
		<link>http://shike.me/2012/02/vtigercrm%e6%95%b0%e6%8d%ae%e5%af%bc%e5%87%bacsv%e4%b9%b1%e7%a0%81%e4%bf%ae%e5%a4%8d/</link>
		<comments>http://shike.me/2012/02/vtigercrm%e6%95%b0%e6%8d%ae%e5%af%bc%e5%87%bacsv%e4%b9%b1%e7%a0%81%e4%bf%ae%e5%a4%8d/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 17:39:21 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[csv乱码]]></category>
		<category><![CDATA[vtigercrm]]></category>

		<guid isPermaLink="false">http://shike.me/?p=370</guid>
		<description><![CDATA[vtigerCRM 5.3 导入导出数据文件CSV中文乱码主要是vtigerCRM只支持UTF-8和ISO-8859-1编码,所以我们用Windows平台打开时就发生乱码,为了在Windows中不产生乱码必须将CSV文件的编码变成GBK或者使用excel的数据导入功能，选择utf-8编码打开即可。 &#160; 导入数据文件CSV中文乱码修正 在Smarty/templates/ImportStep1.tpl中的第99行插入&#60;option value=”GBK”&#62;GBK&#60;/option&#62; &#60;select name="format" class="small"&#62; &#60;!-- value must be a known format for mb_convert_encoding() --&#62; &#60;option value="GBK"&#62;GBK&#60;/option&#62; // &#60;&#60;插入一行 &#60;option value="ISO-8859-1"&#62;ISO-8859-1&#60;/option&#62; &#60;option value="UTF-8"&#62;UTF-8&#60;/option&#62; &#60;/select&#62; 导出数据文件CSV中文乱码修正 修改include/utils/export.php中的第208，232和240行 /** Output header information */ echo iconv("UTF-8", "GBK", $header); //原来: echo $header; /** Output each row information */ echo iconv("UTF-8", "gbk", $line); //原来: echo [...]]]></description>
			<content:encoded><![CDATA[<p>vtigerCRM 5.3 导入导出数据文件CSV中文乱码主要是vtigerCRM只支持UTF-8和ISO-8859-1编码,所以我们用Windows平台打开时就发生乱码,为了在Windows中不产生乱码必须将CSV文件的编码变成GBK或者使用excel的数据导入功能，选择utf-8编码打开即可。</p>
<p>&nbsp;</p>
<p>导入数据文件CSV中文乱码修正</p>
<p>在Smarty/templates/ImportStep1.tpl中的第99行插入&lt;option value=”GBK”&gt;GBK&lt;/option&gt;</p>
<pre>&lt;select name="format" class="small"&gt;
&lt;!-- value must be a known format for mb_convert_encoding() --&gt;
 &lt;option value="GBK"&gt;GBK&lt;/option&gt; // &lt;&lt;插入一行
 &lt;option value="ISO-8859-1"&gt;ISO-8859-1&lt;/option&gt;
 &lt;option value="UTF-8"&gt;UTF-8&lt;/option&gt;
&lt;/select&gt;</pre>
<p>导出数据文件CSV中文乱码修正</p>
<p>修改include/utils/export.php中的第208，232和240行</p>
<pre>/** Output header information */
 echo iconv("UTF-8", "GBK", $header); //原来: echo $header;</pre>
<pre>/** Output each row information */
 echo iconv("UTF-8", "gbk", $line); //原来: echo $line;
 }
 $log-&gt;debug("Exiting export method ...");
 return true;
}

/** Send the output header and invoke function for contents output */
header("Content-Disposition:attachment;filename={$_REQUEST['module']}.csv");
header("Content-Type:text/csv;charset=gbk"); //原来: header("Content-Type:text/csv;charset=UTF-8");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header("Cache-Control: post-check=0, pre-check=0", false );</pre>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/vtigercrm%e6%95%b0%e6%8d%ae%e5%af%bc%e5%87%bacsv%e4%b9%b1%e7%a0%81%e4%bf%ae%e5%a4%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vtigercrm统计图表乱码修复</title>
		<link>http://shike.me/2012/02/vtigercrm%e7%bb%9f%e8%ae%a1%e5%9b%be%e8%a1%a8%e4%b9%b1%e7%a0%81%e4%bf%ae%e5%a4%8d/</link>
		<comments>http://shike.me/2012/02/vtigercrm%e7%bb%9f%e8%ae%a1%e5%9b%be%e8%a1%a8%e4%b9%b1%e7%a0%81%e4%bf%ae%e5%a4%8d/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 17:27:14 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[vtigercrm]]></category>
		<category><![CDATA[乱码]]></category>
		<category><![CDATA[统计图表]]></category>

		<guid isPermaLink="false">http://shike.me/?p=366</guid>
		<description><![CDATA[vtigerCRM 5.3 没有自带中文字体所以造成统计图中文乱码现象 下载Simsun解压后，将Simsun.ttf文件复制到修改\Image\Canvas\Fonts\目录下 修改\Image\Canvas\Fonts\fontmap.txt，最后增加一行： Simsun, Simsun.ttf 修改\include\utils\GraphUtils.php，在第22行插入以下代码： DEFINE("FF_DROIDSANSFALLBACK",'Droid Sans Fallback'); 将第43行的 case 'cn_zh': 修改为 case 'zh_cn': 保存即可。]]></description>
			<content:encoded><![CDATA[<p>vtigerCRM 5.3 没有自带中文字体所以造成统计图中文乱码现象</p>
<pre>下载<a href="http://shike.me/wp-content/uploads/2012/02/Simsun.zip">Simsun</a>解压后，将Simsun.ttf文件复制到修改\Image\Canvas\Fonts\目录下
修改\Image\Canvas\Fonts\fontmap.txt，最后增加一行：
Simsun, Simsun.ttf</pre>
<pre>修改\include\utils\GraphUtils.php，在第22行插入以下代码：
DEFINE("FF_DROIDSANSFALLBACK",'Droid Sans Fallback');
将第43行的 case 'cn_zh': 修改为 case 'zh_cn':</pre>
<pre>保存即可。</pre>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/vtigercrm%e7%bb%9f%e8%ae%a1%e5%9b%be%e8%a1%a8%e4%b9%b1%e7%a0%81%e4%bf%ae%e5%a4%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vtigercrm中增加系统内置的字段</title>
		<link>http://shike.me/2012/02/vtigercrm%e4%b8%ad%e5%a2%9e%e5%8a%a0%e7%b3%bb%e7%bb%9f%e5%86%85%e7%bd%ae%e7%9a%84%e5%ad%97%e6%ae%b5/</link>
		<comments>http://shike.me/2012/02/vtigercrm%e4%b8%ad%e5%a2%9e%e5%8a%a0%e7%b3%bb%e7%bb%9f%e5%86%85%e7%bd%ae%e7%9a%84%e5%ad%97%e6%ae%b5/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 04:14:33 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[vtigercrm]]></category>
		<category><![CDATA[自定义字段]]></category>

		<guid isPermaLink="false">http://shike.me/?p=355</guid>
		<description><![CDATA[vtigercrm支持用户自定义字段，但不能调用系统内置的字段属性，例如在服务合同中调用销售订单。 可以通过直接修改数据库的方式实现： 1，修改 当前表插入字段 2，vtiger_field 增加记录 3，vtiger_def_org_field 增加记录 INSERT INTO `supportcrm`.`vtiger_def_org_field` (`tabid`, `fieldid`,`visible`, `readonly`) VALUES ('32', '621', '0', '1'); 4，vtiger_fieldmodulerel 增加记录 INSERT INTO `supportcrm`.`vtiger_fieldmodulerel` (`fieldid`, `module`,`relmodule`, `status`, `sequence`) VALUES ('621', 'ServiceContracts', 'SalesOrder', '', '0'); 5，vtiger_profile2field 增加记录（增加多条记录） INSERT INTO `supportcrm`.`vtiger_profile2field`(`profileid`, `tabid`, `fieldid`, `visible`, `readonly`) VALUES ('4', '32', '621', '0', '1'); 此方面修改会导致以下问题： 1.通过系统新增自定义字段时，会导致id号重复，导致首次添加的自定义字段无效，再次添加一些即可，暂未发现使用异常（可以尝试第一步修改为通过自定义字段添加字段） 2.修改之前添加的服务合同记录无法修改保存，需要重新添加。]]></description>
			<content:encoded><![CDATA[<p>vtigercrm支持用户自定义字段，但不能调用系统内置的字段属性，例如在服务合同中调用销售订单。<br />
可以通过直接修改数据库的方式实现：</p>
<pre>1，修改 当前表插入字段
2，vtiger_field 增加记录
3，vtiger_def_org_field 增加记录 INSERT INTO `supportcrm`.`vtiger_def_org_field` (`tabid`, `fieldid`,`visible`, `readonly`) VALUES ('32', '621', '0', '1');
4，vtiger_fieldmodulerel 增加记录 INSERT INTO `supportcrm`.`vtiger_fieldmodulerel` (`fieldid`, `module`,`relmodule`, `status`, `sequence`) VALUES ('621', 'ServiceContracts', 'SalesOrder', '', '0');
5，vtiger_profile2field 增加记录（增加多条记录） INSERT INTO `supportcrm`.`vtiger_profile2field`(`profileid`, `tabid`, `fieldid`, `visible`, `readonly`) VALUES ('4', '32', '621', '0', '1');</pre>
<p>此方面修改会导致以下问题：</p>
<p>1.通过系统新增自定义字段时，会导致id号重复，导致首次添加的自定义字段无效，再次添加一些即可，暂未发现使用异常（可以尝试第一步修改为通过自定义字段添加字段）</p>
<p>2.修改之前添加的服务合同记录无法修改保存，需要重新添加。</p>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/vtigercrm%e4%b8%ad%e5%a2%9e%e5%8a%a0%e7%b3%bb%e7%bb%9f%e5%86%85%e7%bd%ae%e7%9a%84%e5%ad%97%e6%ae%b5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vtigercrm生成pdf中文乱码</title>
		<link>http://shike.me/2012/02/vtigercrm%e7%94%9f%e6%88%90pdf%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81/</link>
		<comments>http://shike.me/2012/02/vtigercrm%e7%94%9f%e6%88%90pdf%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 05:32:16 +0000</pubDate>
		<dc:creator>小f</dc:creator>
				<category><![CDATA[建站]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[vtigercrm]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://shike.me/?p=359</guid>
		<description><![CDATA[PDF中文乱码问题主要是由于VtigerCRM没有配置好中文字体所造成的。 PDF修正方法: 对./vtlib/Vtiger/PDF/TCPDF.php文件修改,即:在第75和76行插入 $family = &#8216;stsongstdlight&#8217;; if ($size == 0) { $size = $this-&#62;FontSizePt; } $family = 'stsongstdlight'; //&#60;插入的语句 // try to add font (if not already added) $fontdata = $this-&#62;AddFont($family, $style); $this-&#62;FontFamily = $fontdata['family']; 对.include/tcpdf/TCPDF.php文件修改,即:在第3066和3067行插入 $family = &#8216;stsongstdlight&#8217;; if ($size == 0) { $size = $this-&#62;FontSizePt; } $family = 'stsongstdlight'; //&#60;插入的语句 // try to [...]]]></description>
			<content:encoded><![CDATA[<p>PDF中文乱码问题主要是由于VtigerCRM没有配置好中文字体所造成的。</p>
<p>PDF修正方法:</p>
<p>对./vtlib/Vtiger/PDF/TCPDF.php文件修改,即:在第75和76行插入 $family = &#8216;stsongstdlight&#8217;;</p>
<pre>if ($size == 0) {
 $size = $this-&gt;FontSizePt;
 }
$family = 'stsongstdlight'; //&lt;插入的语句
// try to add font (if not already added)
$fontdata = $this-&gt;AddFont($family, $style);
$this-&gt;FontFamily = $fontdata['family'];</pre>
<p>对.include/tcpdf/TCPDF.php文件修改,即:在第3066和3067行插入 $family = &#8216;stsongstdlight&#8217;;</p>
<div>
<div id="highlighter_462940">
<pre>if ($size == 0) {
 $size = $this-&gt;FontSizePt;
 }
$family = 'stsongstdlight'; //&lt;插入的语句
 // try to add font (if not already added)
$fontdata = $this-&gt;AddFont($family, $style);
$this-&gt;FontFamily = $fontdata['family'];</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://shike.me/2012/02/vtigercrm%e7%94%9f%e6%88%90pdf%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

