Site Tools


Sortable plugin

Col1Col3Col3
1one25/12/2008
2two10/12/2008


How-To in fckgLite

  1. Download fckgLIte with the upgraded table parser. See the fckgLite plugin page on dokuwiki.org.
  2. Create a table using the fckgLite/ckgedit table editor and include it between the ~~MULTI_PLUGIN_OPEN~~ and ~~MULTI_PLUGIN_CLOSE~~ macros and between the sortable tags.

When you re-load the page into the editor the table will load in native Doikuwiki format. In fckgLite, it will look like this:

~ ~ MULTI_PLUGIN_OPEN ~ ~

<sortable>
^Col1^Col3^Col3^
|1|one|25/12/2008|
|2|two|10/12/2008|
</sortable>
~ ~ MULTI_PLUGIN_OPEN ~ ~

Once the table has been re-loaded, the complex table setting is no longer required because the table is now in native Dokuwiki format. But both the MULTI_PLUGIN macros and the sortable tags are still required.

You can add to the table, as you would in the native Dokuwiki edtior, but you must single-space between the rows of the table. See: http://www.mturner.org/fckgLite/doku.php?id=faq#single_spacing

  1. Activate complex tables for the page with the sortable table, as described on the fckgLite plugin page.
  2. Save your work

How-To in ckgedit

Basically the same procedures as for fckgLite apply. But the special table handling upgrade is not required; it works in all versions of ckgedit. And there will not be any spaces between the tilde ~~ characters or the angle brackets. Your table will look like this when the editor is re-opened:

~~MULTI_PLUGIN_OPEN~~
<sortable>
^Col1^Col3^Col3^
|1|one|25/12/2008|
|2|two|10/12/2008|
</sortable>
~~MULTI_PLUGIN_CLOSE~~