Plugin Files
Use this wiki plugin, introduced in Tiki3, 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
Requirements
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
Tiki Doc From Code error: files not found
Additional 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
andcategId
, 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
All files in a gallery
This code:
Copy to clipboard
{files galleryId="4" max="5"}
Would produce on this site:
File Gallery: Documentation temporarily in PDF
ID | Filename | Name | Description | Size | Last modified | Last modified by |
---|---|---|---|---|---|---|
284 | Tiki Shadow Layers How To.pdf | Tiki Shadow Layers How To | PDF document describing basics of Tiki's shadow layers feature. | 1.51 MB | Ed | |
539 | Reference Guide.pdf | Tiki Reference Guide | ALPHA - From TikiFest Tiki6LTS Doc Sprint | 5.01 MB | Rick Sapir / Tiki for Smarties | |
538 | Installation Guide.pdf | Tiki Installation Guide | ALPHA - TikiFest Boston Tiki6LTS Sprint | 1.78 MB | Rick Sapir / Tiki for Smarties | |
121 | Picture 72.png | Name any parameters | 83.59 KB | mrjcleaver | ||
120 | Picture 71.png | Create a plugin alias | 81.39 KB | mrjcleaver |
All files in a category
This code:
Copy to clipboard
{files categId="13"}
Would produce on this site:
Category: Files example
ID | Filename | Name | Description | Size | Last modified | Last modified by |
---|---|---|---|---|---|---|
No records found. |
Select files
This code:
Copy to clipboard
{files fileId="60:61:62" showgallery="n"}
Would produce on this site:
Slideshow
This code:
Copy to clipboard
{FILES(galleryId="6" slideshow="y")}Slideshow for file gallery 6{FILES}
Would produce on this site:
Slideshow for file gallery 6