Share
February 08, 2011 Print

ezFILEMANAGER v2 INSTALLATION & SUPPORT


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.

Installation

Copy the ezFilemanager folder and contents to your TinyMCE plugins directory.

  1. Stand alone installation
    Open config.inc.php and edit configuration, mainly the UPLOAD_DIR
    Just point your browser to the ezfilemanager folder
  2. 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",
    ..........
    });
  3. 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

* required

 
siyerindu
Oct. 01, 2010

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\domains\domainname\wwwroot\assets\js\tinymce\jscripts\tiny_mce\plugins\ezfilemanager\includes\ezf.class.php on line 56

I am getting this.Can u help me why?

barry
Feb. 08, 2010

their doesn't appear to be any icons to close the ezfilemanager window on our setup?
Are we doing something wrong?

This has nothing to do with the ezfilemanager.
You can open tiny_mce poups either as modal or window, configured in tinyMCE.init.
tinyMCE.init({
...
dialog_type : "modal"
});

If you cannot see a close button either in windows or modal mode, then use http://tinymce.moxiecode.com/punbb/index.php for support.
tony
Feb. 13, 2010

Thanks bud works awesome

Anderson
Mar. 04, 2010

Help! Returns blank page when trying to delete directories/files, this problem only happens when I use as a plugin, on stand-alone works fine. I use "Tinymce_3_3rc1" and "ezFilemanager v2.1.1b" please someone help me?

Open index.php and change line 48
FROM
var form = window.parent.document.forms["ezbrowser"];
TO
var form = window.document.forms["ezbrowser"];

or download ezFilemanager v2.1.1c
Anderson
Mar. 08, 2010

Thank you very much!
I love the work of you.

Anderson
Mar. 08, 2010

I did the translation for Portuguese (pt) of ezFilemanager v2.1.1b, and would provide for the community. If possible, how can I be sending to you.

Thanks
Please make sure to compress it (zip,tar,rar etc) and send it to naz[at]webnaz.net
Paul
Mar. 30, 2010

Hello is it porsable with ezFilemanager to select a folder or image so it gives back the path to it in a form ??

The PHP variables that returns the path in tab_filebrowser.inc.php are
for folder CURRENT_PATH.$folder
for file CURRENT_PATH.$file
You have to write your own onclick javascript to implement whatever you have in mind.
Paul
Mar. 30, 2010

I have set the path for the filemanager to the root, when i wan't to go in to a folder i get a error "Illigal Characters in path. Home"

No idea what you mean by "path to root" but you can edit the config (line before the last)
define('HACK_PATH_CHAR','/[;\\\\\\.&,:$><]/i');//no need to modify unless you know what you are doing
change to
define('HACK_PATH_CHAR','');// NOT ADVISABLE
But if your 'UPLOAD_DIR" is wrong then you might get "Access Denied - You are not allowed to view this page"

Browse is not working because your config is wrong, it seems you have a lot of difficulty configuring ezFM, please do not us the comments but conduct me directly at naz[at]webnaz.net.
jasmine
Apr. 14, 2010

Hi;
Thanks for this greate plugin but:

1-not working in internet explorer
2- browse image not working in ff

r is undefined: firebug error

How can it be great if not working in IE :-)
Nevertheless it works in IE and FF. also no errors in Firebug not to mention the fact that I dont remember using a "r"  variable.
Please send me more info especially your OS and config, and if possible give me a test URL
Send it to naz[at]wenaz.net
1551990
Apr. 20, 2010

How to insert flv video file. I don't see insert button.
Thanks

You must install the media plugin, click on the media plugin icon and the the browse icon next to uRL.
If you cannot see the browse icon, then ezFM has not been installed correctly.

«« back ««