Skip to content

GiovanniSalmeri/yellow-filelist

Repository files navigation

Filelist 0.9.1

List of files for download.

Screenshot

How to install an extension

Download ZIP file and copy it into your system/extensions folder. Learn more about extensions.

How to show a list of files

Create a [filelist] shortcut.

The following arguments are available, all are optional:

Folder = folder under media/filelist of files and subfolders to show
Extensions = extensions of files to list, - for all extensions; separate multiple extensions with commas without spaces
Collapse = collapse the lists of subfolders

How names of files and folders are shown

Trailing digits and hyphens in the names of files and folders are used for sorting, but not shown in the link text.

To display characters forbidden in filenames, use the following mnemonics prefixed with =:

Character Name Mnemonic
: colon =c
? question mark =q
/ slash =s
* asterisk =a
" double quotes =d
< less than =l
> greater than =g
\ backslash =b
| pipe =p
= equal ==

For example the filename 5-Quo vadis=q.pdf will be displayed as Quo vadis?.

If a text file is found in the same folder, with the same name of the file to be listed and the extension .text, its content (just one line) will be displayed as the link text. In this way, the link text will not be drawn from the filename and forbidden characters can be used without resorting to the above encoding.

Examples

Showing a list of all files in the base folder:

[filelist]

Showing a list of all files in the base folder with various options:

[filelist / pdf]
[filelist / pdf,odt]
[filelist / - 0]

Showing a list of files in the subfolder docs with various options:

[filelist docs]
[filelist docs pdf]
[filelist docs pdf,odt]
[filelist docs - 0]

Settings

The following settings can be configured in file system/extensions/yellow-system.ini:

FilelistLocation = base location for files
FilelistEncode = use for forbidden characters mnemonics, or percent encoding, or none
FilelistCollapse = collapse the view of subfolders
FilelistShowType = show the type of each file
FilelistKeepNumbers = keep leading numbers in descriptions

Developer

Giovanni Salmeri. Get help.

About

List of files for download.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published