We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26931
    • 2,314 Posts
    Hey, this looks pretty sharp. Can someone advise which folder the zip files are placed in?
    assets -> plugins. just unzip kcfinder17.zip and you’ll see the folder structure
    • Very nice, I’ll give this a try when I upgrade this weekend.

      Jose R. Lopez
      • http://code.google.com/p/modx-ja/downloads/detail?name=kcfinder21.zip
        KCFinder 2.1 released.

        Added language Bulgarian, German, French and Italian.

        change log
        VERSION 2.1 - 2010-07-04
        ------------------------
        * Endless JavaScript loop on KCFinder disable bugfix
        * New config setting whether to generate .htaccess file in upload folder
        * Upload to specified folder from CKEditor & FCKeditor direct upload dialog
        * Select multiple files bugfixes


        VERSION 2.0 - 2010-07-01
        ------------------------
        * Brand new core
        * Ability to resize files/folders panels with mouse drag
        * Select multiple files with Ctrl key
        * Return list of files to custom integrating application
        * Animated folder tree
        * Directory Type specific configuration settings
        * Download multiple files or a folder as ZIP file


        http://sourceforge.net/apps/phpbb/kcfinder/viewtopic.php?f=1&t=3
        Russian translation is here, add next release.
          • 4971
          • 964 Posts
          Hi Yama,
          thanks for the work...
          does this work with Revo?
            Website: www.mercologia.com
            MODX Revo Tutorials:  www.modxperience.com

            MODX Professional Partner
            • 31136
            • 72 Posts
            Quote from: pixelstation at Jun 20, 2010, 03:10 PM

            Will it support manageruser-level folders for files and images and for the admin to oversee all the user folders? currently MCPUK only does this for images.

            If you mean browsing of image and file TVs, you can try my solution (tested on Evo 1.0.4).
            Change KCFinder plugins "OnDocFormPrerender" event to "OnDocFormRender" and add in bottom (but before "</script>") of file assets/plugins/kcfinder/fb.js strings:
            BrowseServer = function (ctrl) {
            	lastImageCtrl = ctrl;
            	var w = screen.width * 0.7;
            	var h = screen.height * 0.7;
            	OpenServerBrowser('[+kcf_url+]kcfinder/browse.php?type=images&langCode=[+lang_code+]', w, h);
            }
            BrowseFileServer = function (ctrl) {
            	lastFileCtrl = ctrl;
            	var w = screen.width * 0.7;
            	var h = screen.height * 0.7;
            	OpenServerBrowser('[+kcf_url+]kcfinder/browse.php?type=files&langCode=[+lang_code+]', w, h);
            }


            Here we just redefining MODx internal js-functions "BrowseServer" and "BrowseFileServer" to use KCFinder.

            P.S. Yama, thanks a lot for your MADE IN JAPAN solution wink
              • 33226
              • 14 Posts
              did somebody know how to install KCFinder to Modx with already installed CKEditor?
                Optimizator Field
                • 19787
                • 28 Posts
                this looks very interesting - the current mcpuk file browser causes the largest amounts of stress with my clients usually through confusion at how it works and the lack of feedback.

                @yoyurec - I just had a look at the Ckeditor documentation and found this

                http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)


                A KCFinder and CKeditor combination would be huge improvement on one of features thats most frequently used by my clients (file management and content editing)
                  • 36447
                  • 98 Posts
                  Missing something here...

                  --unzipped package (2.1 version) to assets/plugins
                  --Added inlinepopups to Custom Plugins in TinyMCE Configuration settings
                  --created a new plugin "kcfinder"
                  --copied kcfinder.tpl contents to new plugin
                  --added "file_browser_callback: ’openKCFinder’," to plugin configuration and received correct custom parameter value on selecting "update parameter display".
                  --checked OnDocFormPrerender in system events
                  --saved plugin

                  Cleared cache but when selecting image icon, still getting ’ol mcpuck...

                  Yama’s directions were a little sparse; anybody?
                    • 36447
                    • 98 Posts
                    No sooner did I post than I figured it out.

                    The plugin configuration is on the TinyMCE plugin, not the kcfinder plugin.

                    Yama states this clearly in his tpl: /* Add line tinymce plugin property custom config "file_browser_callback: ’openKCFinder’," */

                    Duh...
                      • 4080
                      • 139 Posts
                      Regarding post #15 in this thread... I can’t seem to get the code that Yurik posted to work by placing it before the closing SCRIPT element in fb.js. Has anyone had luck with this? I’m running 1.0.4 and KCFinder is working when invoked from TinyMCE so I know it’s installed properly. Any ideas? Here’s the code chunk again from Yurik’s post:

                      BrowseServer = function (ctrl) {
                      	lastImageCtrl = ctrl;
                      	var w = screen.width * 0.7;
                      	var h = screen.height * 0.7;
                      	OpenServerBrowser('[+kcf_url+]kcfinder/browse.php?type=images&langCode=[+lang_code+]', w, h);
                      }
                      BrowseFileServer = function (ctrl) {
                      	lastFileCtrl = ctrl;
                      	var w = screen.width * 0.7;
                      	var h = screen.height * 0.7;
                      	OpenServerBrowser('[+kcf_url+]kcfinder/browse.php?type=files&langCode=[+lang_code+]', w, h);
                      }