DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:filelisting

filelisting Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin Show a searchable and sortable list of media files in the current namespace and subnamespaces. With dropfiles plugin allows Drag'n'Drop upload of media files.

Last updated on
2023-09-27
Provides
Syntax
Repository
Source

Similar to filelist, medialist

Tagged with download, file, filter, listing, media

Installation

This plugin has synergies with the following plugins:

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Examples/Usage

Show files in current namespace:

{{filelisting}}

Show files in custom namespace:

{{filelisting>custom:namespace}}

Syntax

{{filelisting>namespace}}

>namespace is optional.

Configuration and Settings

  • defaulttoggle: defines whether on a newly opened page the table is expanded or not. Once the table has been toggled, that state is remembered by the browser

Development

See \helper_plugin_filelisting::tpl_filelisting() if you want to integrate this plugin into your template.

Change Log

Discussion

Filter doesn't work

Unfortunately, filtering with this plugin (version 2019-07-09) doesn't work with my DokuWiki “Greebo”. I can click on “Name”/“Size”/“Date” and it becomes marked with an arrow up/down but nothing changes in the actual file list. Also, the “Filter” field seems to have no effect since nothing changes in the list when a term is entered. All files are completely shown, though. Is it a bug with filtering? — justme636 2019-10-19 16:31

Filtering works for me in hogfather — kaimartin 2024-03-04 20:50

Thank you

I use this plugin to load images easily. To do this I have a namespace with a series of pages that each refer to a media namespace and this allows me to drag and drop (using dropfiles plugin) making life very simple especially as it offers name and overwite capability. Thank You Simon

To be even more perfect…

Listing Media Files

How can I list all the files and namespaces in the media directory: using : give me all the folder in the root of Data and in Data: Media I think. I tried specifying Data:Media but that doesn't work. Any ideas?

Making the Listing Frame Larger

I want to enlarge the listing 'frame' so that I don't have to scroll so much with longer lists. Does anyone know if this is possible…. I don' think there is a parmeter, can I do it using CSS?

Liz T 2020-11-20

Sorting Files

Files are displayed unsorted by default. How to setup a default sorting?

plugin/filelisting.txt · Last modified: 2024-03-04 20:51 by KaiMartin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki