If you are looking for a 2.2.x compatible version, please checkout the release.2.2.x branch.
Filemanager has two hard dependencies
so if you want to use filemanager, please install these extensions first. (It is not necessary to install Backbone.js since it only provides the javascript source for backbone.js and underscore.js. Placing sym_backbonejs extension in your extensions directory without actually installing it shlould work fine).
As a major change, version 1.0.0 now allows you to have multiple filemager instances per section. Filemanager keeps its files and folders in sync, though it's beste practice not to share the same directories between different filemanager fields.
This mainly refers to developers who are testing on windows/mampp environments
In case you dont't have PECL extension finfo_open
installed and the
deprecated mime_content_type
is not available on your system, the file
mimetype checking will fallback to application/octet-stream
.
If you want to use the fileupload feature in this case, include application/octet-stream
in your allowed mimetype settings.
This results in all files getting validated on the serverside, though clientside validation will work as expected (depending on the browser. e.g. IE will not).
Default MIME types
: define the default MIME types which should be allowed for uploading. This will be overriddin if you setdefault MIME types
on the fields setting.ignore files
: define which files shoud be ignored in the directory listing by default.
Don't put in here different regular expressions but regexp fragments, e.g. if you want to ignore all files with.jpg
and.gif
extensions, write\.jpe?g$ \.gif$
which becomes a regular expression that looks like/(\.jpe?g$|\.gif$)/i
. You can extend this per field in the fields' setting panel.
Set the rootdirectory within workspace
and select which directories should be excluded. You can also choose to allow
moving, removing and/or creating directories. Uncheck Show filesearch
if you don't need fielsearch on this field (since 1.0.5).
Check this, if you want to allow uploading files. After you save your current section, more options will become available, as they are:
Unique Filenames
: check this, if you want to have unique filenamesAllowed MIME types
: define the MIME types that should be allowed for uploading. This will override the defaults set in preferences for this field.
Extend the default fileextensions that should be ignored (see Preferences) and set if you want to allow moving files to another location and/or allow deleting files.
Limit the amount of files that can be selected per entry. 0
equals unlimited,
-1
prevents selecting files.
You may allow re-ordering selected files and choose a displaymode (compact
and preview
).
The Selection field is the actual field (the one which will hold all data). Selecting a file is easy: just click on a file title in the Filebrowser panel to select a file and click the remove button (or a selected file title once again) to remove it form the selection.
Since version 1.0.4 holding down shift allows you to select multiple files at once.
You can add or remove a upload section for each directory within your selected rootdirectory (given your configuration allows fileuploads).
Uploaded files will show up in the filebrowser as soon as they are validated.
This is the heart of the Filemanager field. Depending on your configuration, you can move and delete files and directories, create new directories or upload files from your local harddrive.
Results are shown while you are typing. You can add searchresults directly to your selection by clicking on the a result node.
Each fileview also has a meta view panel. Click on a files' infobutton to display additional file information such as file size, file type and a file preview (if available).
- Symphony CMS 2.3.2
- several bug fixes
- bugfix: legacy method call
- validate uploaded file against all error codes
- bugfix: opera fileupload
- bugfix: retain selection order
- bugfixes
- better handling when file selection is deactivated.
- searchview is now optional (but activated by default).
- Fixed a bug with uploads on multiple instances.
- you may now select and unselect multiple files at once
- Fixed a bug with file selection limit.
- Selecting files can now be deactivated (e.g. to use it as a standanlone filemanager)
- updated lang.de
- Symphony 2.3
- minor css fix
- filemanager field can now hav multiple instances
- added filesearch view
- selections can now be reordered
- selection view can now be displayed in two different modes (
preview
andcompact
) - design changes
- fixed a bug, were files selection would save if there a whitespace character in the files' name
- success message in file deletion now works as expected
- fixed an error where the upload progress indicator wouldn't complete animation
- fixed an error when a directory wasn't accessible (dev 1.4.3)
- improved error handling (dev 1.4.3)
- replaced some method calls for compatibility reasons (dev 1.4.3)
- File ignoring now works as expected (dev 1.4.2)
- added support for multiplatform installations (pathhandling etc.) (dev 1.4)
- False error handling for failed uploads (dev 1.4)
- There was an error while creating new directories. New directories were always created in the workspace root folder (dev 1.4)
- file upload for legacy browser (iframe-transport mode) (dev 1.3)
- Metaviews now retain their states when a directory node gets updated (dev 1.3)
- Fixed some possible pitfalls in case PECL extension
finfo_open
is not available (dev 1.3) - Fixed some possible putfalls in case of a broken default file ignore regexp fragment (dev 1.3)
- fixed broken default file-ignore RegExp
- added update method that will handle broken default regexp form previous verions
- Filebrowser: Folders now auto open and close when dragging over them
- fixed directory update behaviour
- deprecated field setting that would cause an error
- initial release