Tags:
create new tag
, view all tags

New %WEBLIST% and %TOPICLIST% variables

  • The %WEBLIST{"..."}% variable gives a list of all webs;
  • The %TOPICLIST{"..."}% variable gives a list of all topics in a web (aka the "index");

See details in TWiki.TWikiVariables

The format can be freely defined:

WEBLIST as comma delimited list

%WEBLIST{"$name, "}%

Blog, Codev, Main, Plugins, Sandbox, Support, TWiki, TWiki01, TWiki02, TWiki03, TWiki04, TWiki04x01, TWiki04x02,

WEBLIST as a linked bullet list

%WEBLIST{"   * [[$name.WebHome]]"}%

TOPICLIST as comma delimited list

%TOPICLIST{"$web.$name, " web="Know"}%

TOPICLIST as bullet list

%TOPICLIST{"   * $web.$name" web="Know"}%

TOPICLIST as selector

%TOPICLIST{"<option>$name</option>"}%