DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

FileDirectoryΒΆ

Now this is a combination of File and Directory which means that it lists both but offers not editing/deleting/creation functionality. Anyhow, you might want to use this as a full-blown file explorer where you need to adopt the edit linking functionality a little. There's an example for that in this documentation on the interception/RewriteEditLinkBasedOnRowData page.

For the data columns to be specified, here is a list of available "columns" in this handler.

Name Type Description Example
name string folder or filename (no ext.) my_file
is_file boolean true if row is a file true
is_dir boolean true if row is a directory false
type string directory or file directory
parent string parent folder(s) * uploads/
file string filename (empty if folder) my_file.txt
size number/int size in bytes 123510
extension string small-letter extension txt
content string the whole content ...
mime string mime type text/plain
tstamp_creation number/int Unix timestamp of creation 1383724742
tstamp_lastaccess number/int timestamp of last access 1383725011
tstamp_modified number/int timestamp of last change 1383734253
permissions number/int system-dep. permissions varies
usergroup number/int system-dep. usergroup varies
user number/int system-dependant user varies
filetype string indicator of filetyp textfile
inode number/int Unix-only ID of file 51348
is_writable boolean true if file is writable false
directory string folder name (empty if file) fileadmin
tstamp_creation number/int Unix timestamp of creation 1383724742
tstamp_lastaccess number/int timestamp of last access 1383725011
tstamp_modified number/int timestamp of last change 1383734253
permissions number/int system-dep. permissions varies
usergroup number/int system-dep. usergroup varies
user number/int system-dependant user varies
inode number/int Unix-only ID of file 51348
is_writable boolean true if file is writable false

* parent holds all parent folders up until the main directory (specified as dbal/sDatabase)