推薦ajaxfilemanager for tiny_mce 比較完善的tiny_mce編輯器的圖片上傳及圖片管理外掛程式PHP版 支援中文

來源:互聯網
上載者:User

標籤:c   class   a   http   tar   ext   

tiny_mce編輯器,我覺得挺簡潔、好用的,但就是圖片上傳的外掛程式是收費的,而且網上找了半天也沒有找到開源好用的上傳外掛程式。

不過功夫不負有心人,終於還就被我找到一款相當滿意的外掛程式。

這個外掛程式的名字叫ajaxfilemanager

官方網址是http://www.phpletter.com/DOWNLOAD/

Tinymce Ajax File and Image Manager

  • Tinymce Ajax File and Image Manager Version 1.0 Final
  • Project Demo
  • Installation Instructions/Project Introduction
  • Support Forum
  • Change Notes

我自己用了效果還是不錯的。

使用中發現幾處小BUG,我已經自己修複了

修正語言為中文顯示
修改ajaxfilemanager.php,及設定檔 utf-8編碼到gb2312---->修正中文檔案名稱不能顯示修正預覽視圖不出現選擇檔案的按鈕        //alert($(‘#content input[@type=checkbox][@checked]‘).length);//#fileList修改為#content
修正有些配置環境選擇檔案後不能正確識別路徑function myRealPath($path) {if(strpos($path, ‘:/‘) !== false||strpos($path, ‘://‘) !== false)增加||strpos($path, ‘://‘) !== false
 function getRealPath($value) {  $output = ‘‘;  if(($path = realpath($value)) && $path!="" && $path != $value)增加&& $path!=""

根據不同使用者名稱,使用不同子目錄,所有用到CONFIG_SYS_ROOT_PATH的地方後面加上子目錄 . $GLOBALS["childRoot"]所有用到CONFIG_SYS_DEFAULT_PATH的地方也加上$GLOBALS["childRoot"] 子目錄修改class.auth.php檔案,修改isLoggedIn函數,在登入時給$GLOBALS["childRoot"]賦值,php

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.