1. Download Ueditor
 
URL: http://ueditor.baidu.com/website/download.html (e.g. 1.4.2 version)
Extract and rename the folder name to Ueditor and place the phpcms2008 root directory.
2. Open include/form.class.php and find the editor function
Will
 
 
  
   
   | The code is as follows | Copy Code | 
 
   
   | function Editor ($textareaid = ' content ', $toolbar = ' Basic ', $width = ', $height = ', $isshowext = 1) {
 ......
 }
 
 | 
 
  
 
Replaced by
 
 
  
   
   | The code is as follows | Copy Code | 
 
   
   | function Editor ($textareaid = ' content ', $toolbar = ' Basic ', $width = ', $height = ', $isshowext = 1) {
 $str = "<script type=\" text/javascript\ "src=\"/ueditor/ueditor.config.js\ "></script><script type=\" Text/javascript\ "charset=\" utf-8\ "src=\"/ueditor/ueditor.all.js\ "></script><script language=\" Javascript\ "type=\" text/javascript\ ">ue.geteditor ('. $textareaid."); ";
 $str. = "</script>";
 return $str;
 }
 
 | 
 
  
 
4. Open include\fields\editor\form.inc.php (as shown below)
 
 
Find and remove style=\ "display:none\"
 
5. Enter the phpcms2008 background: My panel-common operations-update cache (as shown below)