DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dirpictures

Dirpictures Plugin

Compatible with DokuWiki

Hrun, Detritus

plugin Show subnamespaces with small pictures

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

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

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

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, …

plugin/dirpictures.txt · Last modified: 2018-05-29 23:11 by Klap-in

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