DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dtable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:dtable [2021-01-27 12:03] solewniczakplugin:dtable [2024-04-15 16:04] (current) – [Description] asheenlevrai
Line 6: Line 6:
 email      : solewniczak@rid.pl email      : solewniczak@rid.pl
 type       : syntax type       : syntax
-lastupdate : 2017-09-29 +lastupdate : 2021-03-28 
-compatible : Ponder Stibbons, Binky, Weatherwax, Angua, Adora Belle, Hrun, Detritus, Elenor Of Tsort, Frusterick Manners, Greebo+compatible : Ponder Stibbons, Binky, Weatherwax, Angua, Adora Belle, Hrun, Detritus, Elenor Of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, !Kaos
 depends    :  depends    : 
-conflicts +conflicts sortablejs
 similar    : data similar    : data
 tags       : database, tables tags       : database, tables
Line 21: Line 21:
 ===== Description ===== ===== 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. +This plugin allows you to easily edit dokuwiki tables by right-clicking on any row. Edits take place using simple ajax GUI rather than going into DW's edit mode. 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 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. 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.
Line 36: Line 36:
   </dtable>   </dtable>
  
 +===== Known issues =====
 +  * Remember to always insert an empty line after the ''</dtable>'' tag.
 +> why? What happens otherwise?
 +
 +
 +  * When used in combination with [[plugin:sortablejs|SortableJS]], the editable row is not the one that was highlighted but rather another one. See [[https://github.com/gkrid/dokuwiki-plugin-dtable/issues/15|this]] and [[https://github.com/FyiurAmron/sortablejs/issues/41|this]].
 ===== Config ===== ===== 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 ;-)   * 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 ;-)
Line 51: Line 57:
  
 [[https://github.com/gkrid/dokuwiki-plugin-dtable/issues]] [[https://github.com/gkrid/dokuwiki-plugin-dtable/issues]]
 +
 +
 +Has anyone tested this plugin with Dokuwiki "Kaos" (2024-02-06)?
  
plugin/dtable.1611745411.txt.gz · Last modified: 2021-01-27 12:03 by solewniczak

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