DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dirpictures

Dirpictures Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Show subnamespaces with small pictures

Last updated on
2016-05-31
Provides
Syntax
Repository
Source

Tagged with images, list, thumbnails

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

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. 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, …

plugin/dirpictures.txt · Last modified: 2016-06-18 11:46 by 2001:41d0:fe7e:6d00:121f:bb44:a404:f2b0