发新话题
打印

怎么使用ecshop源代码中的ckedit

怎么使用ecshop源代码中的ckedit

怎么使用ecshop源代码的fckedit.
我用
<?php

$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;

$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath        = $sBasePath ;
$oFCKeditor->Value                = '' ;
$oFCKeditor->Create() ;
?>
这是fckeditor以前使用的方法,在ecshop怎么引用和使用fckeditor呢?

TOP

发新话题