DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:addressbook

addressbook Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Adds an sqlite-based addressbook to DokuWiki. The search results can be displayed on the search page.

Last updated on
2021-06-01
Provides
Syntax, Action
Repository
Source
Requires
sqlite

Tagged with address, contact, vcard

Installation

:!: External requirements: This plugin requires imagemagick/gd praphics library for PHP. Mostly, this is available.

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.

Examples/Usage

[ADDRESSBOOK:search]

Adds a search bar to perform a fulltext search

[ADDRESSBOOK:index]

Lists all contacts.

  • [ADRESSSBOOK:index?departments] - Separate List by departments

[ADDRESSBOOK:addcontact]

Provides a form with which contacts can be added

[ADDRESSBOOK:contact=<nr>]

Show all information about a contact.

[ADDRESSBOOK:print<?option1&option2>]

Creates a printable list

  • [ADDRESSBOOK:print?department] - Separate contacts by department
  • [ADDRESSBOOK:print?select=<name>] - Show only contacts from department ``<name>``

Settings

Option search link target

Contact search results are display on the search results page. In order to activate links to show or edit a contact, a page id must be stated, to which the link directs. This target page must contatin an [ADDRESSBOOK:]-Tag for the request to performed.

Data storage

The complete data (including the images as blobs) is stored data/meta/addressbook.sqlite3 and can be backuped easily. An addressbook (sqlite3) with 1.000 contacts has a size of approximately 4.1 MB if every contact has a photo. The photo is scaled down and compressed, so it uses about 3-4kB. It is stored within the database as a blob (base64encoded).

Development

plugin/addressbook.txt · Last modified: 2021-06-01 14:42 by gero-gothe