Loading...
 
Skip to main content

History: File Gallery Handler

Source of version: 14

Copy to clipboard
            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
{CODE(caption=>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 ]
{CODE}

! 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
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__
| |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
||

        

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