Tags:
create new tag
view all tags

Question

Hello. I'm trying to use the ConditionalPlugin to control the contents of one table cell based on the value of another table cell. An example would be a two-column table - one column is a numeric value 1-10, the other column is a graphic image, say a red stop sign if column 1 is 1-3, a yellow triangle if #1 is 4-6, or a green circle if #1 is 7-10. I've read everything I can find on tables, the TablePlugin, and the ConditionalPlugin, and cannot find a way to make this work. Help!?!?!?!?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, InterwikiPlugin, DatabasePlugin, ChartPlugin, TablePlugin
Server OS: Gentoo Linux - current as of this morning
Web server: Apache 1.3.x
Perl version: 5.8.4
Client OS: Windows XP
Web Browser: Firefox
Categories: Plugins

-- TracyMcKibben - 25 Oct 2004

Answer

Use SpreadSheetPlugin. It allows you to do conditional rendering using the $IF(cond,then,else) function.

-- RodrigoChandia - 25 Oct 2004

Excellent, thanks!

-- TracyMcKibben - 26 Oct 2004

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2004-10-26 - TracyMcKibben
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.