This is an old revision of the document!
Table of Contents
dtable Plugin
Compatible with DokuWiki
Ponder Stibbons, Binky, Weatherwax, Angua, Adora Belle, Hrun, Detritus, Elenor Of Tsort, Frusterick Manners
Description
This plugin allows you to use dokuwiki tables using simple ajax GUI. Every table change is saved in dokuwiki as the new page revision so now you don't need to worry when you accidentally change or remove some table rows.(as it was in old dtable). The plugin additionally manages page locks so you don't need to worry that someone can damage your work by using the same page pararelly with you. I've also decided to change all new line chars that appears in textareas to “\\” so now you won't destroy your table when you accidentally insert some new lines to it.
To see what the plugin can do visit this demo page. Login using the user “demo” and the password “demo”.
To add, edit or remove records just click with the right mouse button on the table. To send the form in the table just doubleclick somwhere in the page. Only logged in users can modify the table.
Download and Installation
Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.
Syntax and Usage
Just put your dokuwiki table between <dtable></dtable> tags. Ex.:
<dtable> ^Header 1^Header 2^ |test|table| </dtable>
Config
- all_tables - EXPERIMENTAL turn all tables into dtables. I recommend not to use this option now because sometimes it can behaves very strange. But I think that I know how to repair this, so please be patient
Changelog
2017-08-16
- Dtable visible during printing.
2016-01-22:
- Ready for PHP 7
2015-04-29:
2013-11-28 Version 1.3.1:
- Some bug fixed.
- Performance improvements.
2013-11-28 Version 1.3:
- Huge rebuild of backend. Now plugin should work more reliable and bug #5 is fixed.
2013-11-05 Version 1.2.1:
- Integration with tablefilterjs plugin.
2013-09-07 Version 1.2:
- Fused cells should now work correctly
- Now plugin doesn't let you add an empty row into the table
- When you remove all data form row during edition it's removed
2013-06-16 Version 1.1:
- The plugin works on normal dokuwiki tables
- Page lock is now supported by the plugin.
2013-03-24 Version 1.0beta:
- Now you can use wiki formatting toolbox in the table
- Several bugs fixed
2013-02-24 Version 1.0alpha:
- In this version I completly rebuild the UI. Now it uses jQuery and is fully ajax. I also added the “Insert before” and “Insert after” that allows you to add new records in any place in the table. I've also rebuild the code and make it more clear and easier to read and develop.
2012-05-09 Version 0.1:
- Initial release.
Discussion
Please report any errors and feature requests using github.