plugin:dtable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dtable [2016-01-22 23:28] – 77.252.177.208 | plugin:dtable [2024-04-15 16:04] (current) – [Description] asheenlevrai | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
author | author | ||
- | email : dokuwiki@imz.re | + | email : solewniczak@rid.pl |
type : syntax | type : syntax | ||
- | lastupdate : 2016-01-22 | + | lastupdate : 2021-03-28 |
- | compatible : "Binky" "Weatherwax" "Angua" "Adora Belle" | + | compatible : Ponder Stibbons, |
depends | depends | ||
- | conflicts | + | conflicts |
similar | similar | ||
tags : database, tables | tags : database, tables | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : https:// | + | bugtracker : https:// |
- | sourcerepo : https:// | + | sourcerepo : https:// |
- | donationurl: | + | |
---- | ---- | ||
- | |||
- | ===== Attention! ===== | ||
- | |||
- | Recent version of plugin completly change the way how the plugin works. If you used the plugin formerly, you should read this page before upgrading. | ||
- | |||
- | ===== Donate ===== | ||
- | I'm a young student working on this plugin in my free time. So if you like this plugin you can [[https:// | ||
===== 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 " | + | This plugin allows you to easily edit dokuwiki tables |
- | + | ||
- | To see what the plugin can do visit [[http:// | + | |
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. | ||
- | |||
- | ===== Known errors ===== | ||
- | * < | ||
- | * < | ||
- | |||
- | * < | ||
- | * < | ||
- | ===== Future ideas ===== | ||
- | * < | ||
- | * < | ||
- | * Add possibility to use normal buttons to manage table instead of popup menu. | ||
- | * Add add a mechanism that will prevent the user from breaking the table for ex by mixing colspans and rowspans in prohibited way. | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
===== Syntax and Usage ===== | ===== Syntax and Usage ===== | ||
Line 57: | Line 36: | ||
</ | </ | ||
+ | ===== Known issues ===== | ||
+ | * Remember to always insert an empty line after the ''</ | ||
+ | > why? What happens otherwise? | ||
+ | |||
+ | |||
+ | * When used in combination with [[plugin: | ||
===== 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 ;-) | ||
- | ===== Migrating from old dtable | + | ===== Development |
- | To migrate from old dtable to the new one, you need to use dtableremote export feature. Read the next section for more information. | + | |
- | ===== I want to use dtable in the old way! ===== | + | === Change Log === |
- | < | + | |
- | It's time to break it ;-) . I highly recomended to upgrade your tables to the new stardard but if you want to still use dtable in the old way, you must use it's older version instead of the current one. You can download this older version from [[https:// | + | {{rss>https:// |
- | ===== dtableremote ===== | + | **Releases:** |
- | + | {{rss> | |
- | ==== Download and Installation of dtableremote ==== | + | |
- | **WARNING!** It is important to put: | + | |
- | < | + | |
- | ~~NOCACHE~~ | + | |
- | </ | + | |
- | at the top of the page where you want to add dtable. \\ | + | |
- | **It is also important to allow embedded HTML in dokuwiki config manager.** | + | |
- | + | ||
- | ==== Syntax and Usage of dtableremote ==== | + | |
- | + | ||
- | <code>[dtable table_name " | + | |
- | + | ||
- | table_name is the name of text file where base will be storage | + | |
- | For now there are three row types: | + | |
- | * text - simple text format | + | |
- | * file - near the < | + | |
- | * data - at the moment this do nothing but in the futhure this type of filed will allows you to pick a date form js callendar | + | |
- | Header name - name of header can contains all unicode charters | + | |
- | + | ||
- | Examples: | + | |
- | + | ||
- | < | + | |
- | + | ||
- | **Added in** [[https:// | + | |
- | If you want to return from dtable to the standard dokuwiki table(or even [[: | + | |
- | + | ||
- | < | + | |
- | + | ||
- | or(for exttab2(note that you must to install [[: | + | |
- | + | ||
- | < | + | |
- | + | ||
- | and save the page. This will cause creation of table at the bottom of the orginal code. Orginal code will also be preserved in the place where it was but will be preceded by two spaces. Just like this: | + | |
- | [dtable foo " | + | |
- | + | ||
- | ==== Config of dtableremote ==== | + | |
- | There two config options at the moment: | + | |
- | * bases_dir - directory where databases files will be storage | + | |
- | * max_table_width - the max width of the form row | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | ===== Changelog ===== | + | |
- | **2016-01-22: | + | |
- | * Ready for PHP 7 | + | |
- | **2015-04-29: | + | |
- | * Closed: https:// | + | |
- | **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' | + | |
- | * 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 " | + | |
- | **2012-05-09 Version 0.1:** | + | |
- | * Initial release. | + | |
- | + | ||
- | ===== Licence ===== | + | |
- | + | ||
- | This program is free software; you can redistribute it and/or modify | + | |
- | it under the terms of the GNU General Public License as published by | + | |
- | the Free Software Foundation; version 3 of the License | + | |
- | + | ||
- | This program is distributed in the hope that it will be useful, | + | |
- | but WITHOUT ANY WARRANTY; without even the implied warranty of | + | |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | |
- | GNU General Public License for more details. | + | |
===== Discussion ===== | ===== Discussion ===== | ||
- | beautiful plugins! Great! | + | [[https://github.com/gkrid/ |
- | + | ||
- | I would love to see this plugin developed further. There is no fit table-editing tool anymore since Adora-Belle broke edit table. This plugin could help a lot. I do have a suggestion for the interface: instead of a general popup menu simply have the action buttons available per row, or at least a visible button in each row to summon the menu. It would improve usability greatly. Thank you for your commitment! Harald Ronge //2013-04-02// | + | |
- | + | ||
- | Hi, | + | |
- | + | ||
- | I tried using your plugin, I have the following in source | + | |
- | ~~NOCACHE~~ | + | |
- | + | ||
- | [dtable foo " | + | |
- | + | ||
- | I get to see </ | + | |
- | + | ||
- | Do you remember about allowing embeded html in dokuwiki | + | |
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ==== Trouble with sneaky linebreaks in tables in v2013-09-07 ==== | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | ^ Hi ^ mom ^ | + | |
- | | [[This link | + | |
- | has a linebreak]] | Column 2 | | + | |
- | |Line 2|and more| | + | |
- | </dtable> | + | |
- | </ | + | |
- | + | ||
- | I hope you can find a way to outsmart my users? | + | |
- | + | ||
- | Thanks, | + | |
- | --- [[user> | + | |
- | + | ||
- | **Fixed since: 1.3** | + | |
- | + | ||
- | Thanks for working on it, Szymon! | + | |
- | + | ||
- | Let me know if I can be of any help. | + | |
- | --- [[user> | + | |
- | + | ||
- | Try it now. I think that now it should work correctly. --- [[user> | + | |
- | ====Incompatibility with plugin tabinclude==== | ||
- | I just updated to version Weatherwax. | ||
- | The plugin TabInclude goes wrong. | ||
- | Debugging the js I find the following exception. | ||
- | SCRIPT5: Type mismatch. The code that goes in error is the following: | ||
- | {new Image ('lib / plugins / dtable / images / unmerge.png' | ||
- | I've updated the plugin dtable and tabInclude to the latest version. | ||
- | Any advice? | + | Has anyone tested this plugin with Dokuwiki " |
- | Thanks, | + | |
- | --- [[user> | + | |
plugin/dtable.1453501708.txt.gz · Last modified: 2016-01-22 23:28 by 77.252.177.208