February 08, 2011
ezFilemanager v2.5 has been released.
Finally I managed to find time and do some updates.
I expect to add more support documentations soon.
Thanks to community translations, ezFilemanager is Multilingual (English, Dutch, German, Norwegian, Portuguese, Spanish, Swedish, Czech)
A site visitor has drawn to my attention that someone is selling my free script, please don't be cheap, respect the open source community and give credit where credit is due.
InstallationCopy the ezFilemanager folder and contents to your TinyMCE plugins directory.
- Stand alone installation
Open config.inc.php and edit configuration, mainly the UPLOAD_DIR
Just point your browser to the ezfilemanager folder
- Plugin Installation within TinyMCE
Open config.inc.php and edit configuration, mainly the UPLOAD_DIR
You have to edit 3 pages, ezfilemanager/index.php, ezfilemanager/js/ez_tinyMCE.js and your page containig tiny_mce
a) index.php
Open ezfilemanager/index.php
Set the path of [script type="text/javascript" src="YOUR-PATH-TO/tiny_mce_popup.js"][/script]
b) ez_tinyMCE.js
Open js/ez_tinyMCE.js and edit var cmsURL ="..."
var cmsURL = "http://"+document.domain+"/YOUR-PATH-TO/ezfilemanager/index.php";
c) Your page containing the tiny_mce editor
Add ez_tinyMCE.js to your tiny_mce page, make sure the path is correct
[script type="text/javascript" src="/admin/spotlights/edit/your-path/tiny_mce.js"][/script]//This allready exits
[script src="YOUR-PATH-TO/plugins/ezfilemanager/js/ez_tinyMCE.js" type="text/javascript"][/script] //Add this
Add plugin to TinyMCE plugin option list. example: plugins : "ezfilemanager".
Add the button, example: theme_advanced_buttons3 : "ezfilemanager".
After your buttons, add file_browser_callback: "CustomFileBrowser",
Make sure you have "advimage" plugin loaded as well
Example snippet
in your TinyMCE init:
tinyMCE.init({
mode : 'textareas',
theme : 'advanced',
plugins : "ezfilemanager,advimage.......",
theme_advanced_buttons3_add_before : 'separator,ezfilemanager',
relative_urls : false,
file_browser_callback: "CustomFileBrowser",
..........
});
- Generic Plugin for text input area.
Put this in your page [head][/head]
[script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"][/script]
[!-- modify according to your directory structure --]
[script type="text/javascript" src="tinymce/jscripts/tiny_mce/plugins/ezfilemanager/js/ez_plugin.js"][/script]
Open ez_plugin.js and make sure the URL of "var newWindow" is correct
Put text input in the page, give a unique ID to the input (You can have multiple text inputs if you wish to)
[input type="text" name="title" id="myid" value="" /]
Double clicking the text input field will open ezfilemanager
if you want to open a specific directory then use the custom "dir" attribute
[input type="text" name="title" id="myid" dir="media/myfolder/" value="" /]
This is it, let me know if you have any problems
Oct. 20, 2010
In the editor, I click the Insert image button, then browse for an image. If I don't insert a Image Description, a pop up window displays with instructions about inserting a description, etc.
This is fine, however, the content of that pop message displays way up above and behind the title bar and is impossible to read the full message.
There is a scroll bar on the right, but it doesn't allow the user to scroll up to the top of the message.
How do I resolve this issue?
Oct. 20, 2010
@waMP
Again this is a tiny_mce issue and a lot of parameters are involved (css, in what mode the popup is oppened i.e dialog_type etc)
Either disable it (try accessibility_warnings : false) or ask for support in tiny_mce forum
Dec. 16, 2010
I Installed this plugin successfully locally and it works just fine…I followed the instructions step by step. But now that I move it to my domain it's not working…when I click on the Icon it pops up but it's all white…nothing there….any idea what could be causing this?
Permissions maybe?
Great plugin by the way hope to have it working on my domain soon :-)
Dec. 16, 2010
@samtv
First comment out error_reporting(0) in config maybe it is a PHP compatibility issue.
If again it is blank, at the top of index.php put die('something') at least we will be sure that the index.php is called correctly.
If again nothing, then send me your live URL and I'll have a look at it.
Dec. 20, 2010
Hi there!
I've read the full thread and tried many things, but cant get it work… I always get the following errror:
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/web24/html/praxisweb/interna/scripts/jscripts/tiny_mce/plugins/ezfilemanager/includes/ezf.class.php on line 56
I would appreciate any help!
thanks in andvance
Dec. 20, 2010
@Mica
Most probably your PHP is v4.x
Remove "static" from line 56
static function (...) Should become
function (...)
Dec. 20, 2010
@Naz
Wow Naz, many many thanks for your quick response! It works now! =)
Dec. 27, 2010
Hi everybody,
some ftp uploaders convert names of transfered files to small caps. It can cause problems. Solution: change js/ez_tinyMCE_insert.js to js/ez_tinymce_insert.js and
js/jquery/jquery.contextMenu.js to js/jquery/jquery.contextmenu.js in index.php
Dec. 28, 2010
@Itquality.cz
I would certainly not use an FTP clients that force lower-case. Most FTP clients can be configured to preserve the case of files and directories. After-all on a Linux server (unlike windows) same file name, with different character cases is treated as different file.
Dec. 28, 2010
Czech translation you can fin here http://www.itquality.cz/image/1293537321_sb_ezfilemanager_czech.zip
copy to lang directory and change parameter LANG en ->cz in config.inc.php. ENJOY.