Question
I looked but can't find an answer anywhere. I looked a bit through some source code as well to find the default values. Basically I'm replicating the results one gets with the
FormattedSearch special stuff, but I like the column headers to click on to sort. I hope that makes sense.
On my
GrantBow page I have changed my searches to look like this. What I'd like to do now is change it so that the resulting table has an attribute of tablewidth="90%". I tried setting a TABLEATTRIBUTES variable in the page but it didn't seem to make any difference.
%TABLE{ tablewidth="90%" }%
%SEARCH{ "GrantBow" web="Support" scope="text" nosearch="on" nosummary="on" nototal="on"
regex="off" order="modified" reverse="on" limit="2"
header="| *Topic:* | *Changed:* | *By:* |"
format="| $web.$topic | [[$web.$topic][$date]] - $rev | $wikiusername |"}%
The other little thing I'm looking for to make this search "perfect" is how to get the dates to link to rdiff URLs instead of view URLs.
- TWiki version: twiki.org
- Perl version:
- Web server & version:
- Server OS:
- Web browser & version:
- Client OS:
--
GrantBow - 15 Jan 2003
Answer
I got around this by sticking it in a table as a limit and adjusting with spacing seperators applied as in $topic(19).
Onward and upward.
--
GrantBow - 17 Jan 2003
The trick is to use the TABLE variable before the SEARCH variable. Above example is updated.
--
PeterThoeny - 18 Jan 2003
Aha! Thanks! Updating documentation in
TWiki.TWikiVariables now.
--
GrantBow - 18 Jan 2003
Topic revision: r4 - 18 Jan 2003 - 20:43:00 -
GrantBow