An Alternative File Browser

CKFinder is an alternative file browser to the default FCKBrowser used with the TinyMCE rich text editor for uploading, selecting and otherwise managing file resources. It is described here. The plugin for using it in MODx is provided by yama of the large and active Japanese MODx community. The support forum topic is here.

First, I downloaded the latest version as of this post, unzipped the zip archive, resulting in a directory containing plugins/kcfinder directories, and uploaded the kcfinder directory to my site's asstes/plugins directory.

I created a new plugin, KCFinder, and copy/pasted the code from the kcfinder.tpl file, and checked the OnDocFormRender system event for the plugin in its System Events tab.

Next, I opened the site's Configuration, went to the Interface and Features tab, and added the inlinepopups plugin to the Custom Plugins field.

Finally, in the TinyMCE plugin's configuration, I added the Custom Parameter

file_browser_callback: 'openKCFinder',

(note the trailing comma). You can see a screenshot of these last two steps in yama's post here.

Now instead of the MCPuck browser, I'm getting the CKFinder browser for both images and media insertions/management in TinyMCE. And it's working for file and image TVs as well.

It uses a right-click context menu for managing individual files as well as adding/removing directories in the left-column directory listing. But I think my favorite feature is the ability to switch between thumbnail view and list view. If you have a lot of files to scan through, the file listing is very convenient, as is the ordering option.

CKFinder Context Menu