History: File Gallery Handler
Preview of version: 15
This is a handler that allows to create file galleries. Object References are required to create trees of file galleries. Uploading files is not supported.
Complete sample for an Intranet
YAML
Copy to clipboard
preferences: feature_file_galleries: y objects: - type: file_gallery ref: primary data: name: Company XYZ description: All files owned by the company owner: admin archives: 5 flags: [ public, visible, lockable ] column: [ icon, name, created, creator, files ] init_files: - http://profiles.tiki.org/pics/icons/plugin.png - type: file_gallery ref: public data: name: Marketing parent: $primary description: For external publication owner: johndoe flags: [ public ] column: [ icon, name, files ] popup: [ description ]
File Gallery Object
Field Name | Mandatory | Value | |
name | yes | Name of the file gallery | |
parent | Parent file gallery ID | ||
description | Description of the file gallery | ||
owner | User maintaining the file gallery, default to admin | ||
type | default, podcast or vidcast | ||
maxRows | Amount of rows to display at a time | ||
max_desc | Description length in characters | ||
archives | Amount of archives to keep per file. 0 for unlimited, default to none (-1) | ||
sort_mode | Default sort order ie Name Ascending or Descending is set by using either name_asc or name_desc - other sort types set by using lastModif_ hits_ user_ description_ or id_ | ||
subgal_conf | |||
flags | List of global flags | ||
public | File gallery is unlocked (public) | ||
visible | Visible to non-admins | ||
lockable | Files can be locked during download | ||
show_name | name, filename or both (default: both) | ||
init_files | URL to file to add to this file gallery (New in Tiki9) | ||
column or popup | List of elements to display publicly | ||
label used in 'Display Properties' admin screen | parameter to be used in profile script | ||
ID | id | ||
Type | icon | ||
Description | description | ||
Size | size | ||
Created / Uploaded | created | ||
Last Modified | modified | ||
Uploaded by | creator (not obvious!!) | ||
Creator | author (not obvious!!) | ||
Last Modified by | last_user | ||
Comment | comment | ||
Files | files | ||
Hits | hits | ||
Last download | lastDownload | ||
Locked by | lockedby | ||
Backlinks | backlinks | ||
Delete After | deleteAfter | ||
Share with | share | ||
Source | source | ||
Explorer | explorer | ||
Path | path |