User Tools

Site Tools


remository:quickdown

Content Page

Quickdown Plugin

Quickdown allows information from the file repository managed by Remository to be included in articles or other content that triggers the event onContentPrepare. It works by embedding codes into the article, which are processed by Quickdown, and replaced by data from the repository. The possible codes are explained below. Note that the code is a simple regular expression, and you should interpret this to decide on a specific code for your own use. An example is given for each type of code.

{quickdown:([0-9]+)} For example, {quickdown:41} This code generates information about a specific file, indicated by the number. File ID numbers can be seen via the Remository admin interface. The exact information to be shown will be affected by the Remository options. It may include a download link, or for AV files a play link (depends on the availability of audio and video plugins).

{quickcat:([0-9]+)} For example, {quickcat:2} This code will generate a list of the files within a container and all its descendants. The number is required, and indicates the maximum number of files to be shown.

{quickfolder:([0-9]+)} For example {quickfolder:17} This code will generate a list of the files in a specific folder, at any level. The number is required, and indicates the maximum number of files to be shown.

{quicklatest:([0-9]+)(:([0-9]+))?} For example, {quicklatest:3:12} This code will generate a list of the most recently added files. The first number is required, and indicates the maximum number of files to be shown. The second number indicates a container ID (these can be seen in the Remository admin side interface). It is optional, and if omitted, files will be selected from the whole repository.

{quickpopular:([0-9]+)(:([0-9]+))?} For example, {quickpopular:5:10} This code will generate a list of the files most frequently downloaded by users. The first number is required, and indicates the maximum number of files to be shown. The second number indicates a container ID (these can be seen in the Remository admin side interface). It is optional, and if omitted, files will be selected from the whole repository.

{quickrated:([0-9]+)(:([0-9]+))?} For example, {quickrated:6:15} This code will generate a list of the files most highly rated by users. The first number is required, and indicates the maximum number of files to be shown. The second number indicates a container ID (these can be seen in the Remository admin side interface). It is optional, and if omitted, files will be selected from the whole repository.

Further information will be added here as time permits.

remository/quickdown.txt · Last modified: 2022/09/27 07:56 by admin