List files in a gallery or category
Plugin FILES
Table of contents
Purpose
This plugin allows you to display a list of files like in the list files in a gallery script. The files can be :
- in a gallery
- in a gallery with a special category
- with a category
- know by its ID
The files will respect the perms
- its gallery must be visible by the user
NOTE: a category with a perm on a file has no effect
{FILES(galleryId=id,categoryId=id,sort=name_asc)}Title{FILES}
Parameters
| Parameter | Accepted Values | Effect | Since |
|---|---|---|---|
| galleryId | numeric | gallery ID | |
| categId | numeric | category ID | |
| numeric separated with : | a list of category IDs. The file or the file gallery must belong to one of these categories | 3.0 | |
| fileId | numeric file ID separated with : | a list of file IDs. | 5.0 |
| sort | column_asc or column_desc | sort column and asc or desc (ex: name_asc, lastModif_desc) | |
| showfind | y or n | to show the find box (default n) | |
| showid | y or n | ||
| showicon | y or n | ||
| showgallery | y or n | ||
| showsize | y or n | ||
| showdescription | y or n | ||
| showcreated | y or n | ||
| showcreator | y or n | ||
| showauthor | y or n | ||
| showmodified | y or n | ||
| showcomment | y or n | ||
| showdl | y or n | ||
| showlockedby | y or n | ||
| showname | y or n | ||
| slideshow | y or n | Create a link to open the popup slideshow of a gallery. data will will the text of the link. javascript must be enabled. Other parameters that galleryId are not considered | 3.0 |
| showupload | y or n | Show a upload form (galleryId must be specified). Default: n | 6.0 |
- If you give only categId, all the files that are in a gallery with this category and all the files of this category(after Tikiwiki1.10) 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 gallery
- if you specify Title, instead to see the category name or the gallery name as title, you will see this text as title
Example
{FILES(categoryId=5) /}
{FILES(galleryId=1)/}
Example on this site
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 |
|---|---|---|---|---|---|---|---|
| AulaWiki_documentation_Castellano_090520.pdf | 1.74 MB | Wed 20 May, 2009 | Wed 20 May, 2009 | 869 | |||
| AulaWiki_documentation_Catala_090520.pdf | 1.73 MB | Wed 20 May, 2009 | Wed 20 May, 2009 | 866 | |||
| AulaWiki_documentation_English_090520.pdf | 1.80 MB | Wed 20 May, 2009 | Wed 20 May, 2009 | 935 | |||
| Picture 70.png | 152.60 KB | Tue 16 June, 2009 | Tue 16 June, 2009 | 51 | |||
| Picture 74.png | 32.38 KB | Tue 16 June, 2009 | Tue 16 June, 2009 | 816 | |||
| Picture 75.png | 75.49 KB | Tue 16 June, 2009 | Tue 16 June, 2009 | 825 | |||
| WikiAdminFeatures_30.png | 189.90 KB | Sat 20 June, 2009 | Sat 20 June, 2009 | 4071 | |||
| teetree_categ_perms_00.png | 26.30 KB | Wed 05 Aug., 2009 | Wed 05 Aug., 2009 | 3534 | |||
| backlinks_example.png | 42.78 KB | Sun 13 Sep., 2009 | Sun 13 Sep., 2009 | 1365 | |||
| Picture 71.png | 81.39 KB | Tue 16 June, 2009 | Tue 16 June, 2009 | 806 | |||
| MultiTiki Apache and Windows Configuration.pdf | 390.57 KB | Tue 04 Aug., 2009 | Tue 04 Aug., 2009 | 610 | |||
| Picture 72.png | 83.59 KB | Tue 16 June, 2009 | Tue 16 June, 2009 | 820 | |||
| Tiki Shadow Layers How To.pdf | 1.51 MB | Wed 23 June, 2010 | Wed 23 June, 2010 | 90 |
Contributors to this page: sylvie
,
Scot Wilcoxon
,
Marc Laporte
,
lindon
and
Jürgen Heckes
.
Page last modified on Wednesday 04 August, 2010 14:50:36 UTC by sylvie
.
