Fullscreen
[Show/Hide Right Column]

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

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


Close
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 Other Sorts
Actions application/pdf AulaWiki_documentation_Castellano_090520.pdf 1.74 MB Wed 20 May, 2009 Wed 20 May, 2009 1618 Information
Actions application/pdf AulaWiki_documentation_Catala_090520.pdf 1.73 MB Wed 20 May, 2009 Wed 20 May, 2009 1550 Information
Actions application/pdf AulaWiki_documentation_English_090520.pdf 1.80 MB Wed 20 May, 2009 Wed 20 May, 2009 1757 Information
Actions image/png Picture 70.png 152.60 KB Tue 16 June, 2009 Tue 16 June, 2009 268 Information
Actions image/png Picture 74.png 32.38 KB Tue 16 June, 2009 Tue 16 June, 2009 1825 Information
Actions image/png Picture 75.png 75.49 KB Tue 16 June, 2009 Tue 16 June, 2009 1813 Information
Actions image/png WikiAdminFeatures_30.png 189.90 KB Sat 20 June, 2009 Sat 20 June, 2009 9506 Information
Actions image/png teetree_categ_perms_00.png 26.30 KB Wed 05 Aug., 2009 Wed 05 Aug., 2009 3843 Information
Actions image/x-png backlinks_example.png 42.78 KB Sun 13 Sep., 2009 Sun 13 Sep., 2009 3834 Information
Actions image/png Picture 71.png 81.39 KB Tue 16 June, 2009 Tue 16 June, 2009 1818 Information
Actions application/pdf MultiTiki Apache and Windows Configuration.pdf 390.57 KB Tue 04 Aug., 2009 Tue 04 Aug., 2009 1955 Information
Actions image/png Picture 72.png 83.59 KB Tue 16 June, 2009 Tue 16 June, 2009 1839 Information
Actions application/x-download Installation Guide.pdf 1.78 MB Fri 18 Mar., 2011 Tue 21 June, 2011 11696 Information
Actions application/x-download Reference Guide.pdf 5.01 MB Fri 18 Mar., 2011 Tue 21 June, 2011 4465 Information
Actions application/pdf Tiki Shadow Layers How To.pdf 1.51 MB Wed 23 June, 2010 Wed 23 June, 2010 1061 Information

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 Other Sorts
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 1003 Information
Actions png tiki7_slideshow_00.png tiki7_slideshow_00.png 73.71 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 512 Information
Actions png tiki7_slideshow_02.png tiki7_slideshow_02.png 33.20 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 504 Information
Actions png tiki7_slideshow_03.png tiki7_slideshow_03.png 28.28 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 499 Information
Actions png tiki7_slideshow_04.png tiki7_slideshow_04.png 33.16 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 488 Information
Actions png tiki7_slideshow_05.png tiki7_slideshow_05.png 133.45 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 514 Information
Actions png tiki7_slideshow_01.png tiki7_slideshow_01.png 136.42 KB Fri 19 Aug., 2011 Wed 28 Dec, 2011 516 Information

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 Other Sorts
Actions pdf AulaWiki_documentation_Castellano_090520.pdf 1.74 MB Wed 20 May, 2009 Wed 20 May, 2009 1618 No information
Actions pdf AulaWiki_documentation_Catala_090520.pdf 1.73 MB Wed 20 May, 2009 Wed 20 May, 2009 1550 No information
Actions pdf AulaWiki_documentation_English_090520.pdf 1.80 MB Wed 20 May, 2009 Wed 20 May, 2009 1757 No information

Slideshow

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

Would produce on this site:
Slideshow for file gallery 2


Contributors to this page: lindon137 điểm  , sylvie7387 points  , Marc Laporte9146 points  , Jürgen Heckes473 points  and Scot Wilcoxon684 points  .
Page last modified on Wednesday 28 December, 2011 19:16:36 UTC by lindon137 điểm .
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