Fileindex Plugin

AuthorJan Wessely
Version2008-04-02
Required DokuWiki Versiondevel
Downloadfileindex.tar.gz
Main PageFileindex Plugin at jawe.net

Description

Displays directory contents, like apache's mod_autoindex.

Features:

  • using dokuwiki's fileicons (the ones in lib/images/fileicons)
  • supports “index files” or “default files” which, if present, are displayed instead of the directory content.

Planned:

  • ACL
  • descriptions

Syntax

{{fileindex}}
{{fileindex>some/sub/directory}}

The subdirectory given as parameter in the page replaces the configured default path.

Configuration

All configuration of the plugin is done in the Fileindex Plugin Configuration section on the configuration admin page.

Base URLURL or path to the files
Base pathAbsolute local filesystem path to the files
Root path(Optional) Root directory, relative to the base path.
Default path(Optional) Initially displayed directory, relative to the base path.
Show files starting with a dotshow .htaccess files etc.
Show iconsUncheck if you hate color
Base path for the file iconsDefaults to DokuWiki's own file icons
Base URL for the file iconsDefaults to DokuWiki's own file icons
Directory iconURL to the directory icon
File iconURL to the generic file icon
Parent directory iconURL to the parent directory icon
Index filesSpace separated list of filenames that, if present, should be displayed instead of the directory contents

Source code

Index of fileindex/src/
FileDateSize
Parent directory Parent directory23.11.2007 15:59 
Directory conf23.11.2007 15:59 
Directory files22.11.2007 06:12 
Directory images22.11.2007 15:12 
Directory lang22.11.2007 06:12 
File VERSION02.04.2008 12:0411 B
File license.txt23.11.2007 15:5917.6 kB
File syntax.phps02.04.2008 12:048.67 kB

Icons in images released under GPL2 by John Zaitseff

Demo

see above or the downloads page.

Discussion

your complaints here please: