1# dokuwiki_btable
2doodle-like polls as plugin for dokuwiki
3
4successor of [btable](https://www.dokuwiki.org/plugin:btable) by Oliver Horst.
5
6btable2 is a drop-in-replacement. uninstall btable, install btable2. All old polls will stay as they were.
7
8# Usage
9
10Use for polls in internal wiki with trustfull members. I use it in my Band to check, if we can accept a gig request.
11
12- Very simple (one you have your copy&Past template, its easy. especially for the others.)
13- No Authorization! Everyone can change votes from others. non-internet-users (yes, they exist...) can be updated by their friends.
14
15# Example
16![screenshot1](https://raw.githubusercontent.com/jolz/dokuwiki_btable/master/doc/screenshot1.png)
17
18is created with this code (and some votes):
19```
20
21<btable "2019:06:rehersal">
22<opt>showempty,colongroups</opt>
23  <columns>
245.
2512.
2619.
2726.
28  </columns>
29  <rows>
30Singer: one
31Singer: two
32Singer: three
33Band: Guitar 1
34Band: Guitar 2
35Band: Drums
36Band: Keys
37Band: Bass
38  </rows>
39</btable>
40```
41
42# Documentation
43- tag "opt" - list of options, seperated by whitespace or comma
44  - showempty (will include rows without voted in table)
45  - colongroups (if colon found in name - use it as group)
46  - close (disable frontend changes.)
47 - tag "columns"
48   - column names seperated by "^" or "\n" (newline)
49 - tag "rows"
50   - row names seperated by "^" or "\n" (newline)
51
52# Added Features since btable2
53- Version 2019-06-22 (first release)
54  - php7 compatible
55  - compatible to newer dokuwiki
56  - implement options "closed", "colongroups", "showempty"
57  - rows/columns seperator may also be newline instead of "^".
58  - implement dokuwiki security token (dokuwiki security guideline)
59