History: File Gallery Handler

Preview of version: 14

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 ] 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 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
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
publicFile gallery is unlocked (public)
visibleVisible to non-admins
lockableFiles 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
IDid
Typeicon
Descriptiondescription
Sizesize
Created / Uploadedcreated
Last Modifiedmodified
Uploaded by creator (not obvious!!)
Creatorauthor (not obvious!!)
Last Modified by last_user
Commentcomment
Filesfiles
Hitshits
Last downloadlastDownload
Locked bylockedby
Backlinksbacklinks
Delete AfterdeleteAfter
Share withshare
Sourcesource
Explorerexplorer
Pathpath


History

Information Version
Fri 14 of Oct, 2016 09:26 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 21
Mon 20 of Apr, 2015 18:05 GMT-0000 Nelson Ko add more information about file gallery mode. need to verify 20
Mon 30 of Mar, 2015 08:53 GMT-0000 Geoff Brickell 19
Sun 29 of Mar, 2015 21:47 GMT-0000 Geoff Brickell 18
Sun 29 of Mar, 2015 21:25 GMT-0000 Geoff Brickell 17
Sun 29 of Mar, 2015 21:22 GMT-0000 Geoff Brickell 16
Sun 29 of Mar, 2015 21:11 GMT-0000 Geoff Brickell 15
Sun 29 of Mar, 2015 20:33 GMT-0000 Geoff Brickell parameter table updated 14
Sun 29 of Mar, 2015 19:29 GMT-0000 Geoff Brickell update to parameters 13
Sun 29 of Mar, 2015 14:53 GMT-0000 Geoff Brickell 12
Sun 29 of Mar, 2015 14:42 GMT-0000 Geoff Brickell 11
Sun 29 of Mar, 2015 14:37 GMT-0000 Geoff Brickell partial update to show by flags 10
Mon 24 of Feb, 2014 11:08 GMT-0000 Geoff Brickell clarify that public = unlocked 9
Fri 13 of Dec, 2013 14:38 GMT-0000 Geoff Brickell updates to colum/display documentation 8
Fri 01 of Jun, 2012 21:03 GMT-0000 Marc Laporte URL to file to add to this file gallery 7
Tue 23 of Feb, 2010 21:11 GMT-0000 sylvie 6
Sat 23 of Aug, 2008 15:36 GMT-0000 Marc Laporte 5
Sat 23 of Aug, 2008 15:26 GMT-0000 Marc Laporte 4
Tue 05 of Aug, 2008 17:28 GMT-0000 System Administrator 3
Tue 05 of Aug, 2008 17:23 GMT-0000 System Administrator 2
Tue 05 of Aug, 2008 16:56 GMT-0000 System Administrator 1