Tags:
create new tag
view all tags

Question

If including a table into another table, the first one included is formatted correctly (ie: incorporated into the primary table), but any additional included tables are treated as separate. I am trying to present a single table, with portions edited and maintained in separate topics (each of which has different user restrictions).

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Unix
Web server: Apache 1.3.29
Perl version: 5.6
Client OS: WinXP
Web Browser: IE/Mozilla

-- RalphBroom - 08 Jan 2004

Answer

I assume you want to include several tables, one after the other, to get one big table. To join the tables nicely you need to avoid new lines between included tables. Do that by placing a %STARTINCLUDE% at the beginning of the first table row, and a %STOPINCLUDE% at the end of the last table row. See example Sandbox.TableTest

-- PeterThoeny - 09 Jan 2004

This works perfectly, even on my older TWiki installations. Thank you.

-- RalphBroom - 16 Jan 2004

Another option is to put a unique marker in each table row, like an invisible <!--COPY--> in a table cell (label type in EditTablePlugin), then to do a %SEARCH{ "<\!\-\-COPY\-\->" regex="on" multiple="on" format="$text" }% to grab all those rows.

-- PeterThoeny - 16 Jan 2004

Nice! I tried it in the example you created, Sandbox.TableTest. This opens up all KINDS of options. Thanks again.

-- RalphBroom - 22 Jan 2004

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-01-22 - RalphBroom
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.