Fullscreen
[Show/Hide Right Column]

List files by ID, gallery or category, or show a slideshow of image files

Plugin Files


Purpose

This plugin allows you to display a list of files like in a file gallery listing. You can also create a link to a slideshow of images in a file gallery.
The files can identified by their:
  • ID
  • gallery
  • category
  • gallery and category

Regarding permissions:
  • The file gallery must be visible by the user in order for the file to be listed or displayed
  • A category with a permission on a file has no effect

Parameters

Required parameters are in bold
Preferences required: feature_file_galleries, wikiplugin_files
Parameters Accepted Values Description Default Since
galleryId To list only files contained in these file galleries
categId To restrict files listed to those belonging to one or more categories. Enter a single category or ID or list of them separated by colon
fileId To list only specified files, enter their file IDs separated by colon
sort Order ascending or descending based on any field in the file gallery table. Default is name_asc name_asc
showaction y
n
Show a column with icons for the various actions the user can take with each file (not shown by default) n
showfind y
n
Show a search box above the list (not shown by default) n
showtitle y
n
Show the title of the file gallery (shown by default) y
showid y
n
Show the ID number of each file (shown by default) y
showicon y
n
Show an icon for each file depicting the file type n
showname y
n
Show the name given to the file upon upload into the file gallery (shown by default) y
showfilename y
n
Show each file's filename (shown by default) y
showsize y
n
Show the size of each file in kilobytes (shown by default) y
showdescription y
n
Show the description of the file given upon upload into the file gallery (shown by default) y
showcreated y
n
Show the date each file was created (not shown by default) n
showmodified y
n
Show the date each file was last modified (shown by default) y
showhits y
n
Show the number of hits each file has received (not shown by default) n
showlockedby y
n
For locked files, show the user name of the user who locked it (not shown by default) n
showauthor y
n
Show the user name of the user who is the author of the file (not shown by default) n
showcreator y
n
Show the user name of the user who is the creator of the file (not shown by default) n
showgallery y
n
Show the name of the parent gallery
showfiles y
n
For galleries included in the list (where the file gallery includes other galleries), show the number of files in each of those galleries (not shown by default) n
slideshow y
n
Show a link that produces a pop-up slide show when clicked (not set by default) n
showcomment y
n
Show comments for each file (not shown by default) n
showlasteditor y
n
Show the user name of the user who last modified the file (shown by default) y
showthumb y
n
Show Image thumb n
creator Show only files created by this user
showupload y
n
Show a simple upload form to the gallery (not shown by default) n
max Number of rows (default: -1 = all) -1
recursive y
n
Recursive n
withsubgals y
n
With sub-galleries y


tipAdditional notes

  • If you give only categId, all the files that are in a gallery with this category and all the files of this category (after Tiki version 2) will be returned.
  • If you give only galleryId, all the files of this gallery will be returned
  • If you give galleryId and categId, all the files of the gallery that have this category will be returned
  • The fields that are displayed are those specified in one of the galleries
  • if you specify Title, you will see this text as title instead of the category name or the gallery name as title

Examples

This code:
{FILES(galleryId=4)/}

Would produce on this site:

File Gallery: Documentation temporarilly in pdf

T Filename Size Created / Uploaded Last Modified Files Hits Actions
application/pdf AulaWiki_documentation_Castellano_090520.pdf 1.74 MB Wed 20 May, 2009 Wed 20 May, 2009 1539 Open in WebDAV
application/pdf AulaWiki_documentation_Catala_090520.pdf 1.73 MB Wed 20 May, 2009 Wed 20 May, 2009 1475 Open in WebDAV
application/pdf AulaWiki_documentation_English_090520.pdf 1.80 MB Wed 20 May, 2009 Wed 20 May, 2009 1665 Open in WebDAV
image/png Picture 70.png 152.60 KB Tue 16 June, 2009 Tue 16 June, 2009 232 Open in WebDAV
image/png Picture 74.png 32.38 KB Tue 16 June, 2009 Tue 16 June, 2009 1688 Open in WebDAV
image/png Picture 75.png 75.49 KB Tue 16 June, 2009 Tue 16 June, 2009 1674 Open in WebDAV
image/png WikiAdminFeatures_30.png 189.90 KB Sat 20 June, 2009 Sat 20 June, 2009 8629 Open in WebDAV
image/png teetree_categ_perms_00.png 26.30 KB Wed 05 Aug., 2009 Wed 05 Aug., 2009 3792 Open in WebDAV
image/x-png backlinks_example.png 42.78 KB Sun 13 Sep., 2009 Sun 13 Sep., 2009 3381 Open in WebDAV
image/png Picture 71.png 81.39 KB Tue 16 June, 2009 Tue 16 June, 2009 1684 Open in WebDAV
application/pdf MultiTiki Apache and Windows Configuration.pdf 390.57 KB Tue 04 Aug., 2009 Tue 04 Aug., 2009 1730 Open in WebDAV
image/png Picture 72.png 83.59 KB Tue 16 June, 2009 Tue 16 June, 2009 1707 Open in WebDAV
application/x-download Installation Guide.pdf 1.78 MB Fri 18 Mar., 2011 Tue 21 June, 2011 10720 Open in WebDAV
application/x-download Reference Guide.pdf 5.01 MB Fri 18 Mar., 2011 Tue 21 June, 2011 3522 Open in WebDAV
application/pdf Tiki Shadow Layers How To.pdf 1.51 MB Wed 23 June, 2010 Wed 23 June, 2010 901 Open in WebDAV

All files in a category

This code:
{FILES(categId=13) /}

Would produce on this site:

Category: Files example

T Filename Name Size Created / Uploaded Last Modified Files Hits Actions
png r_test5_mods_word_cloud.png r_test5_mods_word_cloud.png 128.99 KB Thu 04 Aug., 2011 Wed 28 Dec, 2011 615 ArchivesOpen in WebDAV
png tiki7_slideshow_00.png tiki7_slideshow_00.png 73.71 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 286 ArchivesOpen in WebDAV
png tiki7_slideshow_02.png tiki7_slideshow_02.png 33.20 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 282 ArchivesOpen in WebDAV
png tiki7_slideshow_03.png tiki7_slideshow_03.png 28.28 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 281 ArchivesOpen in WebDAV
png tiki7_slideshow_04.png tiki7_slideshow_04.png 33.16 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 273 ArchivesOpen in WebDAV
png tiki7_slideshow_05.png tiki7_slideshow_05.png 133.45 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 280 ArchivesOpen in WebDAV
png tiki7_slideshow_01.png tiki7_slideshow_01.png 136.42 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 286 ArchivesOpen in WebDAV

Select files

This code:
{FILES(fileId="60:61:62",showgallery="n")/}

Would produce on this site:

T Filename Name Size Created / Uploaded Last Modified Files Hits Actions
pdf AulaWiki_documentation_Castellano_090520.pdf 1.74 MB Wed 20 May, 2009 Wed 20 May, 2009 1539 ArchivesOpen in WebDAV
pdf AulaWiki_documentation_Catala_090520.pdf 1.73 MB Wed 20 May, 2009 Wed 20 May, 2009 1475 ArchivesOpen in WebDAV
pdf AulaWiki_documentation_English_090520.pdf 1.80 MB Wed 20 May, 2009 Wed 20 May, 2009 1665 ArchivesOpen in WebDAV

Slideshow

This code:
{FILES(galleryId="2" slideshow="y")}Slideshow for file gallery 2{FILES}

Would produce on this site:



Contributors to this page: lindon5653 points  , sylvie7160 points  , Marc Laporte8178 points  , Jürgen Heckes473 points  and Scot Wilcoxon684 points  .
Page last modified on Wednesday 28 December, 2011 19:16:36 UTC by lindon5653 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki