We would like to announce the release of CKFinder 3.2 for PHP, the second major update to the totally rebuilt CKFinder 3 line. This version includes plenty of improvements and new features, including list view and files sorting.
List View
In this release we introduce the list view - a new type of files pane view. This view mode makes it easier to handle multiple documents in a folder where the thumbnail view is less useful (though it can also be used to manage images).
Users can now switch between thumbnail view and list view in the user settings panel. The user-selected view is remembered and will be recreated upon the next visit in CKFinder. Additionally we added settings for sorting of files in the files pane - you can now organize them by name, date or file size. These options are accessible either through the settings panel or by clicking the column headers when list view is enabled.
Automatic CSRF Protection
A feature that previously required custom coding and setting proper configuration options is now automatically enabled in CKFinder 3.2 and requires no manual setup. The built-in CSRF protection additionally improves the security of authenticated users - when a malicious website contains a link, a form button or some JavaScript that is intended to perform unwanted action using the credentials of a logged-in user who visits the malicious site, CKFinder will now detect and block such attempts.
Note for CKEditor users: In order to upload files directly inside CKEditor with updated CKFinder (with CSRF protection enabled), CKEditor should also be updated to the latest stable version (CKEditor 4.5.6 released on 9th Dec, 2016).
New Configuration Options for Client Side
With the new list view and sorting features we have added a few configuration options to control the default behavior:
config.defaultViewType
- Allows to configure the default view type: either thumbnails or list.config.defaultSortBy
- Defines the preferred sorting method (name, date or size).config.defaultSortByOrder
- Allows to choose between ascending or descending order.
Note: All the options above are used when CKFinder cannot determine previous user settings, e.g. when starting CKFinder for the first time after clearing the browser’s cache.
Developers might also adjust the list view icon size with the config.listViewIconSize
option which allows to choose file type icons size from available icon sizes: 16, 22, 32 and 48 pixels.
Localizations
Esperanto, French, Hungarian, and Polish language versions were updated.
Changelog
See the What’s New? page for a full list of changes.
Download
Reporting Issues and Feature Requests
If you miss anything in CKFinder, have ideas on how CKFinder could be improved, or found a bug, please do not hesitate to report an issue in the CKFinder issue tracker. The tracker is public, so not only can you submit your ideas, but you can also browse existing issues and add your comments there.
Support
All CKFinder licenses come with a year of dedicated support straight from core CKFinder developers. You can also refer to StackOverflow for community support.