Table of Contents
Dirpictures Plugin
Compatible with DokuWiki
Hrun, Detritus
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Description
This plugin is used to display pictures for all pages of a directory (aka. all subnamespaces of a namespace) and sort them by name or by date. If a picture is not added into the page (as a metadata) it takes a default picture.
It is also very small and good to hack and improve.
Examples
We use it to display projects made in the Fablab LFO.
By date : http://reso-nance.org/wiki/projets/archives
By name : http://reso-nance.org/wiki/projets/
Installation
Search and install the plugin using the Extension Manager.
Alternatively, refer to Plugins on how to install plugins manually. The local plugin directory must have the same name as the plugin is named, otherwise the plugin won't work properly.
Add the default.jpg picture: In order to find the right default picture, please download the “default.jpg” file into the namespace where you want to show all pages.
Syntax
// Sort by name ~~DIRPICTURES~~ // Sort by date ~~DIRPICTURES sortByDate~~ // Sort by date (descending order) ~~DIRPICTURES sortByDate sortDesc~~
Configuration and Settings
Nothing specific
Development
Some useful arguments could be added : namespace, depth, …