DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:addressbook

addressbook Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

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.

  • [ADRESSBOOK: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: 2022-04-04 14:22 by thomas-schaefer-nh

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