I'm preparing a web for publishing and want the nice formatting of
TablePlugin, but do not want the tables to be sorted (as this causes non-sensical links in the header when
PublishContrib renders the tables).
However, if I try to turn off table sorting on a web wide basis by setting
TABLEATTRIBUTES = sort="off"
in
WebPreferences,
TablePlugin will no longer format tables which are not preceded by %TABLE{}%.
--
TWiki:Main/DiabJerius - 17 Oct 2007
I don't see that here. Testing:
- Set TABLEATTRIBUTES = sort="off" datacolor="#ff0000"
HTML table:
12345 |
12345 |
12345 |
12345 |
12345 |
12345 |
12345 |
12345 |
12345 |
No TABLE variable:
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
TABLE variable:
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
aaaaa |
--
TWiki:Main.ArthurClemens - 17 Oct 2007
Odd. What version of TWiki/TablePlugin is running here? I installed a fresh copy of 4.1.2 and with the following:
* Set TABLEATTRIBUTES = sort="off" datacolor="#ff0000"
*TABLE variable:*
%TABLE%
| *A* | *B* |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
*No TABLE variable:*
| *A* | *B* |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
Get the following result:
--
DiabJerius - 18 Oct 2007
Try the latest TablePlugin. Because that is what's running here.
--
TWiki:Main.ArthurClemens - 18 Oct 2007
Ok, version 1.026 is now installed. Same result, however.
--
TWiki:Main.DiabJerius - 18 Oct 2007
I had not updated the plugin on twiki.org - I have now. I just confirmed that the problem existed before the update, with the version you have tested.
Thanks for notifying.
--
TWiki:Main.ArthurClemens - 18 Oct 2007
Thanks. After upgrading it works as expected.
--
TWiki:Main.DiabJerius - 19 Oct 2007