<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[ECMall Ecmall二次开发 - PHP技术-]]></title> 
<link>http://www.laohucheng.com/index.php</link> 
<description><![CDATA[ECMall,ECMall二次开发,厦门PHP-ECShop二次开发,ECShop开发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[ECMall Ecmall二次开发 - PHP技术-]]></copyright>
<item>
<link>http://www.laohucheng.com/post//</link>
<title><![CDATA[PHP配置FCKEditor]]></title> 
<author>noel &lt;babysir@qq.com&gt;</author>
<category><![CDATA[程序 代码 源码]]></category>
<pubDate>Tue, 24 Mar 2009 03:41:21 +0000</pubDate> 
<guid>http://www.laohucheng.com/post//</guid> 
<description>
<![CDATA[ 
	配置方法，把下载下来的zip文件解压到php网站的根目录下，默认文件夹名是&quot;fckeditor&quot;<br/>&nbsp;&nbsp;&nbsp;&nbsp; 在需要加入编辑器的页面里面引用fckeditor/fckeditor.php,即<br/>&lt;?php include(&quot;fckeditor/fckeditor.php&quot;);?&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp; 在需要加入编辑器的地方加入如下代码： $oFCKeditor = new FCKeditor(&#039;FCKeditor1&#039;) ;//建立对象<br/>$oFCKeditor-&gt;BasePath = &#039;FCKeditor/&#039; ;//FCKeditor所在的位置<br/>$oFCKeditor-&gt;ToolbarSet = &#039;Default&#039; ;//工具按钮<br/>$oFCKeditor-&gt;Width = &#039;50%&#039;;//宽<br/>$oFCKeditor-&gt;Height =&#039;500&#039;;//高<br/>$oFCKeditor-&gt;Value =&#039;Hello&#039;;//默认显示的文字<br/>$oFCKeditor-&gt;Create() ;<br/>&nbsp;&nbsp;&nbsp;&nbsp; 其中FCKeditor1对应textarea中的name属性<br/>&nbsp;&nbsp;&nbsp;&nbsp; 看看吧，不出意外的话配置成功。<br/>&nbsp;&nbsp;&nbsp;&nbsp; 如果你感觉FCKEditor提供的功能太多，有许多功能用不到的话，可以自己建立自定义的ToolbarSet具体方法就是打开fckediotr目录下的fckconfig.js,加入如下代码：<br/>//在名为&quot;Default&quot;的toolbarset里面包含了所有fck的功能，英语好的自己看看吧<br/>FCKConfig.ToolbarSets[&quot;自定义toolbarset名称&quot;]=[ [需要显示的功能]]<br/><br/>&nbsp;&nbsp; 就这么多吧，应该没什么问题了 <br/>Tags - <a href="http://www.laohucheng.com/tags/php%25E9%2585%258D%25E7%25BD%25AEfckeditor/" rel="tag">php配置fckeditor</a>
]]>
</description>
</item><item>
<link>http://www.laohucheng.com/post//#blogcomment</link>
<title><![CDATA[[评论] PHP配置FCKEditor]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.laohucheng.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>