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
All files in a category
This code:
Copy to clipboard
{files categId="13"}
Would produce on this site:
Category: Files example
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