Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

File Gallery Handler

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
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 ]
 -
  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 NameMandatoryValue
nameyesName of the file gallery
parent Parent file gallery ID
description Description of the file gallery
mode create or update or create_update (default: create even if exists)
owner User maintaining the file gallery, default to admin
type default, podcast or vidcast
max_rows 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
subgal_conf
flags List of global flags
publicFile gallery is public
visibleVisible to non-admins
lockableFiles can be locked during download
show_name name, filename or both (default: both)
column or popup List of elements to display publicly
id
type
description
size
created
hits
lockedby
icon
modified
creator
author
last_user
comment
files
explorer
path



Contributors to this page: sylvie102 points  , Marc Laporte6087 points  and System Administrator .
Page last modified on Tuesday 23 of February, 2010 21:11:36 UTC by sylvie102 points .