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:

Requirements

Regarding permissions:

Parameters

List files by ID, gallery or category, or show a slideshow of image files
Introduced in Tiki 3.
Go to the source code
Einstellungen erforderlich: feature_file_galleries, wikiplugin_files

Parameters Akzeptierte Werte Beschreibung Standard seit
(Hauptteil des Plugins) Title for the file listing, or the link text when slideshow="y"
creator Zeige nur Dateien, die von diesem Benutzer erstellt wurden 5.0
galleryId
separator: :
To list only files contained in these file galleries (multiple IDs separated by colon).
Or enter a username for user files (hint: enter for current logged-in user).
3.0
max int Anzahl von Zeilen (Standard: -1 = alle) -1 7.1
recursive (leer)
y
n
Rekursiv y 8.0
showmodtimedate (leer)
y
n
if showmodified is set to y then this will show both the date and time that each file was last modified (not shown by default) n 16.0
sort (leer)| name_asc| name_desc| created_asc| created_desc| lastModif_asc| lastModif_desc| filename_asc| filename_desc| filesize_asc| filesize_desc| filetype_asc| filetype_desc| lastDownload_asc| lastDownload_desc| random Order ascending (_asc), descending (_desc) or random based on any field in the file gallery table. Default is name_asc name_asc 3.0
showdescription (leer)
y
n
Show the description of the file given upon upload into the file gallery (shown by default except in slide show). Set to Yes (y) to show as a caption in a slide show. y 3.0
showfilename (leer)
y
n
Show each file's filename (shown by default except in slide show). Set to Yes (y) to show as a caption in a slide show. y 3.0
showmodified (leer)
y
n
Zeige zu jeder Datei das Datum der letzten Änderung (wird standardmäßig angezeigt) y 3.0
showcreator (leer)
y
n
Zeige den Benutzernamen desjenigen, der Ersteller der Datei ist (wird standardmäßig nicht angezeigt) n 3.0
showsize (leer)
y
n
Zeige die Größe jeder Datei in Kilobytes (wird standardmäßig angezeigt, außer in der Diashow) y 3.0
showid (leer)
y
n
Zeige die ID-Nummer jeder Datei (wird standardmäßig angezeigt) y 3.0
showname (leer)
y
n
Show the name given to the file upon upload into the file gallery (shown by default). Set to Yes (y) to show as a caption in a slide show. y 3.0
showicon (leer)
y
n
Zeige ein Symbol zu jeder Datei, das den Dateityp angibt n 3.0
showtitle (leer)
y
n
Show the title of the file gallery (shown by default). Also shown on slide show pop up window if a single galleryId is used. y 5.0
showthumb (leer)
y
n
Zeige Vorschaubild n 8.0
showgallery (leer)
y
n
Zeige den Namen des übergeordneten Archivs n 3.0
showlasteditor (leer)
y
n
Zeige den Benutzernamen desjenigen, der die Datei zuletzt verändert hat (wird standardmäßig angezeigt) y 5.0
slidewidth digits Legt die Breite des Diashow-Popup fest. 600 9.0
slideheight digits Legt die Höhe des Diashow-Popup fest. 500 9.0
withsubgals (leer)
y
n
Mit Unter-Dateiarchiven y 8.0
showfindisrecursive (leer)
y
n
The search box digs recursively in sub-galleries (by default) y
showsource (leer)
y
n
Show the source (shown by default). n 10.0
showaction (leer)
y
n
Show a column with icons for the various actions the user can take with each file (shown by default) n 3.0
showauthor (leer)
y
n
Zeige den Benutzernamen desjenigen, der Autor der Datei ist (wird standardmäßig nicht angezeigt) n 3.0
showfiles (leer)
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 3.0
slideshow (leer)
y
n
Zeige einen Link, der beim klicken eine Popup-Diashow aufruft (standardmäßig nicht eingestellt) n 3.0
showcreated (leer)
y
n
Zeige das Datum, zu dem jede Datei erstellt wurde (wird standardmäßig nicht angezeigt) n 3.0
showupload (leer)
y
n
Zeige ein einfaches Hochladeformular im Archiv (wird standardmäßig nicht angezeigt) n 6.0
showcomment (leer)
y
n
Zeige Kommentare für jede Datei (werden standardmäßig nicht gezeigt) n 5.0
showfind (leer)
y
n
Zeige eine Suchbox über der Liste (wird standardmäßig nicht angezeigt) n 3.0
showhits (leer)
y
n
Zeige die Anzahl von Treffern, die jede Datei erhalten hat (wird standardmäßig nicht angezeigt) n 3.0
showlockedby (leer)
y
n
Zeige bei gesperrten Dateien den Benutzernamen, der die Datei gesperrt hat (wird standardmäßig nicht angezeigt) n 3.0
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 3.0
fileId
separator: :
To list only specified files, enter their file IDs separated by colon. If File IDs are specified here then the Gallery ID field above should be empty. 5.0

 Additional notes

Examples

This code:

Copy to clipboard
{files galleryId="4" max="5"}

Would produce on this site:

Dateiarchiv: Documentation temporarily in PDF

ID Dateiname Name Beschreibung Größe Zuletzt modifiziert Zuletzt bearbeitet von
123 Picture 75.png 75.49 KB mrjcleaver
162 backlinks_example.png Example page showing backlinks 42.78 KB Rick Sapir / Tiki for Smarties
122 Picture 74.png Simple invocation, just using one named parameter 32.38 KB mrjcleaver
60 AulaWiki_documentation_Castellano_090520.pdf 1.74 MB Xavier de Pedro
99 Picture 70.png 152.60 KB mrjcleaver

All files in a category

This code:

Copy to clipboard
{files categId="13"}

Would produce on this site:

Kategorie Files example

ID Dateiname Name Beschreibung Größe Zuletzt modifiziert Zuletzt bearbeitet von
595 r_test5_mods_word_cloud.png r_test5_mods_word_cloud.png 128.99 KB
600 tiki7_slideshow_00.png tiki7_slideshow_00.png 73.71 KB
602 tiki7_slideshow_02.png tiki7_slideshow_02.png 33.20 KB
603 tiki7_slideshow_03.png tiki7_slideshow_03.png 28.28 KB
604 tiki7_slideshow_04.png tiki7_slideshow_04.png 33.16 KB
605 tiki7_slideshow_05.png tiki7_slideshow_05.png 133.45 KB
606 tiki7_slideshow_01.png tiki7_slideshow_01.png 136.42 KB

Select files

This code:

Copy to clipboard
{files fileId="60:61:62" showgallery="n"}

Would produce on this site:

ID Dateiname Name Beschreibung Größe Zuletzt modifiziert Zuletzt bearbeitet von
60 AulaWiki_documentation_Castellano_090520.pdf 1.74 MB
61 AulaWiki_documentation_Catala_090520.pdf 1.73 MB
62 AulaWiki_documentation_English_090520.pdf 1.80 MB

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

History Source