• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4841: Setting sort="off" in WebPreferences makes TablePlugin ignore non-%TABLE% tables

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TablePlugin Normal No Action Required TWiki:Main.DiabJerius n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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:

snapshot1.png

-- 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

ItemTemplate
Summary Setting sort="off" in WebPreferences makes TablePlugin ignore non-%TABLE% tables
ReportedBy TWiki:Main.DiabJerius
Codebase 4.1.2
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.DiabJerius
Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng snapshot1.png r1 manage 12.9 K 2007-10-18 - 14:39 DiabJerius Image of Tables
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-10-19 - DiabJerius
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback