Helps to note the attendance of people for meetings or courses.
Compatible with DokuWiki
No compatibility info given!
Similar to doodle
This plugin is based on the doodle plugin and extends it with support for CSV export and the ability to predefine not only columns, but also rows.
This plugin can help your team to schedule meetings or making other decisions in a team. The syntax looks like this:
<btable [id]>
<columns>
^ [column] ^ [column] ^ ... ^
</columns>
<rows>
^ [row] ^ [row] ^ ... ^
</rows>
</btable>
That means, you can simply put a <btable> tag on the page and gets a fully selectable boolean table with export functionality.
| [id] | the ID of the btable; must be unique1); appears as title | required |
|---|---|---|
| [column] | an option for which users can tick a checkbox whether it's 'true' or not ('false') | required |
| [row] | an option which users can select from a combobox to insert boolean values for it | required |
You can see this plugin in action here.
You can download and install the btable.zip (16 KB) with the plugin manager.
As the source code is included in the file above, please download this to view the source code.
Currently only German (de), English (en) and Italian (it) translations are available. Feel free to translate it to another language and send it back to me and I will add it to the release!
How can I close the poll? (remove the check Buttons)? (2010-12-20)

Warning: ksort() expects parameter 1 to be array, boolean given in /../wiki/lib/plugins/btable/syntax.php on line 192
used code:
\\
<btable Testanfrage: Palmenfest in der Karibik am 16.06 bis 29.08>
<columns>
^ JA ^ NEIN ^ unsicher ^
</columns>
<rows>
^ siggi ^ Andreas ^ Tomatensaft ^
</rows>
</btable>
I have the same problem. I can see it when I create new tables, old ones do not show it anymore, I do not why. —Ayla 14/09/08
Same problem. I commented out the ksort so the error went away but the rows appear as a single combo-box rather than multiple rows. Looks like it would be a great pluging for what I need
Andy 26-Sep-08
The array $boolean is not created until needed, that is, when a first entry into the table is made. Hence, it is false, causing ksort() to complain because it expects parameter 1 to be array, boolean given. A quick fix is to call ksort() only if $boolean exists. For this, replace lines 191-192
// sort rows ksort($doodle);
in file ~/plugins/btable/syntax.php with
// sort rows if ($doodle) { ksort($doodle); }
Hope this helps Miquel 2008-11-26
I have a problem when using the <btable> syntax mentioned above: the extra carets (^) before the first column label and after the last column label translate into two extra unlabeled columns, but when removing those extra carets the table displays correctly. Accordingly, with the present code the syntax seems to be,
<btable [id]>
<columns>
[column] ^ [column] ^ ...
</columns>
<rows>
[row] ^ [row] ^ ...
</rows>
</btable>
* Feature request: multi-valued entries instead of boolean flags
This is a great plugin and almost what I have been searching for. Almost because a boolean table does not suffice for my problem. I need to coordinate a (fixed) bunch of people who are regularly attending to events. Now every single person of this bunch of people may bring additional people to the event. So instead of a boolean tick-box I would need a drop-down box with a selectable integer. Preferably the content of this drop-down box would be configurable (but could be the same for the whole table). I would set the possible values to 0, 1, 2, 3, 4, 5, 6, 7, 8 - indicating the person count in my case.
Martin 2008-11-27
——————————
* Show row options as text instead of a drop-down box?
Is this possible? On the demo at http://home.edo.uni-dortmund.de/~horst/btable/doku.php the rows are shown as buttons. The current version renders them as a dropdown box. I'd like just to have plain text in the row down the left hand side. Any hints please email Laurence 2008-12-16-