2013-02-21 48 views

回答

2

之前頁腳添加ckeditor.js文件和代碼如下:

<script type="text/javascript"><!-- 
<?php foreach ($languages as $language) { ?> 
CKEDITOR.replace('description<?php echo $language['language_id']; ?>', { 
    filebrowserBrowseUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>', 
    filebrowserImageBrowseUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>', 
    filebrowserFlashBrowseUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>', 
    filebrowserUploadUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>', 
    filebrowserImageUploadUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>', 
    filebrowserFlashUploadUrl: 'index.php?route=common/filemanager&token=<?php echo $token; ?>' 
}); 
<?php } ?> 
//--></script> 

替換:

​​

與文本區域的ID。

相關問題