database
.Integrates DB-driven table featuring list and detail view, record editor, record-based locking for concurrent edit, file upload and more
Compatible with DokuWiki
Detritus, Hrun, Ponder Stibbons, Binky, Weatherwax, Adora Belle, Angua, Rincewind, Anteater, Lemming, 2009-02-14b, 2008-05-05
Integrates DB-driven table featuring list and detail view, record editor, record-based locking for concurrent edit, file upload and more
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to database
On July 2017 this plugin was adopted by me with bless of the author “Thomas Urban”. Please also note the credits, taken from his homepage.
Here is a short list of features included with this plugin:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
To access remote databases, the plugin uses PDO. The appropriate drivers must be installed in the underlying operating-system, resp. PHP.
<database2> SELECT * FROM mytable </database2>
The plugin is integrated in a page by using a special tag called database2
like this:
<database2 tablename [attribute=value ...]> column definition column definition ... </database2>
The tag is surrounding a set of column definitions. Additionally the tag must contain a table's name to use in connected database and may contain further options. These options are called table options furtheron since every column may have individual options as well called column options throughout the rest of this documentation.
Here you find a complete definition and examples of the syntax.
On successfully installing plugin or upgrading from versions prior to 0.4.0 you need to enable the plugin on a per-page basis. Change to your wiki's configuration manager and look for the section related to plugin database2.
If your wiki isn't providing any open write access including wiki markup support and/or if you trust all your users you may globally enable database2 on every page using separate option in configuration manager. Doing so any patterns provided for selecting enabled pages are ignored.
If global option described before is off
, you may enter one or more patterns for matching pages' full path selecting those pages being enabled for using database2 tag. Write one pattern per line. Each pattern may be a PCRE pattern wrapped in slashes or a shell pattern with *
and ?
as wildcards.
/^software:database2:demo/i *:database2
Plugins like discussion
are used to enable unauthenticated users to post comments. As such posts may include any sort of Wiki markup. This way it's possible for commenters to embed database2 tags with public write access to databases into pages. Starting with 0.4.0 support for database2 must be enabled explicitly for selected pages of your Wiki. Now, it's possible to install both plugins. However you shouldn't have discussions on pages enabled for database2.
The following points are on my agenda:
database
.