TOPICLIST{"format"} -- topic index of a web
- List of all topics in a web. The "format" defines the format of one topic item. It may include formatting tokens: The
$topictoken gets expanded to the topic name,$markertomarkerparameter where topic matchesselection, and$webto the name of the web, or any of the standard Format Tokens. - Syntax:
%TOPICLIST{"format" ...}% - Supported parameters:
Parameter: Description: Default: "format"Format of one line, may include $web(name of web),$topic(name of the topic),$marker(which expands tomarkerfor the item matchingselectiononly)"$topic"format="format"(Alternative to above) "$topic"separator=", "line separator "$n"(new line)marker="selected"Text for $markerif the item matchesselection"selected"selection="TopicA, TopicB"Current value to be selected in list (none)web="Name"Name of web Current web - Examples:
Create a bullet list of all topics: %TOPICLIST{" * $web.$topic"}% Create a comma separated list of all topics: %TOPICLIST{separator=", "}% Create an option list (for drop down menus): %TOPICLIST{" <option>$topic</option>"}% Create an option list of web topics with the current topic selected: <select>%TOPICLIST{ " <option $marker value='$topic'>$topic</option>" separator=" " selection="%TOPIC%" }%</select> - Related: SEARCH, WEBLIST