[Show/Hide Right Column]

List files in a gallery or category
Print
Tags: plugin files

Plugin FILES

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)/}
Image

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
application/pdf AulaWiki_documentation_Castellano_090520.pdf 1.74 MB Wed 20 May, 2009 Wed 20 May, 2009 869 DownloadOpen in WebDAV
application/pdf AulaWiki_documentation_Catala_090520.pdf 1.73 MB Wed 20 May, 2009 Wed 20 May, 2009 866 DownloadOpen in WebDAV
application/pdf AulaWiki_documentation_English_090520.pdf 1.80 MB Wed 20 May, 2009 Wed 20 May, 2009 935 DownloadOpen in WebDAV
image/png Picture 70.png 152.60 KB Tue 16 June, 2009 Tue 16 June, 2009 51 DisplayDownloadOpen in WebDAV
image/png Picture 74.png 32.38 KB Tue 16 June, 2009 Tue 16 June, 2009 816 DisplayDownloadOpen in WebDAV
image/png Picture 75.png 75.49 KB Tue 16 June, 2009 Tue 16 June, 2009 825 DisplayDownloadOpen in WebDAV
image/png WikiAdminFeatures_30.png 189.90 KB Sat 20 June, 2009 Sat 20 June, 2009 4071 DisplayDownloadOpen in WebDAV
image/png teetree_categ_perms_00.png 26.30 KB Wed 05 Aug., 2009 Wed 05 Aug., 2009 3534 DisplayDownloadOpen in WebDAV
image/x-png backlinks_example.png 42.78 KB Sun 13 Sep., 2009 Sun 13 Sep., 2009 1365 DisplayDownloadOpen in WebDAV
image/png Picture 71.png 81.39 KB Tue 16 June, 2009 Tue 16 June, 2009 806 DisplayDownloadOpen in WebDAV
application/pdf MultiTiki Apache and Windows Configuration.pdf 390.57 KB Tue 04 Aug., 2009 Tue 04 Aug., 2009 610 DownloadOpen in WebDAV
image/png Picture 72.png 83.59 KB Tue 16 June, 2009 Tue 16 June, 2009 820 DisplayDownloadOpen in WebDAV
application/pdf Tiki Shadow Layers How To.pdf 1.51 MB Wed 23 June, 2010 Wed 23 June, 2010 90 DownloadOpen in WebDAV


Contributors to this page: sylvie4333 points  , Scot Wilcoxon680 points  , Marc Laporte5511 points  , lindon2331 points  and Jürgen Heckes471 points  .
Page last modified on Wednesday 04 August, 2010 14:50:36 UTC by sylvie4333 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):