I wrote this blog post in response to support question
SID-01844: Setup a topic to be rendered in the background.
--
Peter Thoeny - 2013-12-27
Excellent! Thanks, Peter. I really like having that familiar tree structure of content for navigability. I've defined the following variables which enable my TWiki to crawl through a topic's children including attachments:
* Set LB_QUERY_ATTACHMENTS = %ATTACHMENTLIST{topic="%DEFAULT%" format="%PREFIX% * icon:%PUBURL%/%SYSTEMWEB%/TWikiDocGraphics/attachfile.gif $fileName"}%
* Set LB_QUERY_CHILDREN = %SEARCH{"parent.name='%DEFAULT%'" type="query" nonoise="true" format="%PREFIX% * $percntSPACEOUT{\"$topic\"}$percnt$n$percntLB_QUERY_CHILDREN{\"$topic\" PREFIX=\"%PREFIX% \"}$percnt$n$percntLB_QUERY_ATTACHMENTS{\"$topic\" PREFIX=\" %PREFIX%\"}$percnt"}%
Then, in
WebLeftBar I can choose which topics to display in an expandable tree:
%TREEBROWSER{"file" title="users" shared="left" noroot="true"}% %LB_QUERY_CHILDREN{"UserList" PREFIX=" "}%
--
Michael Sprague - 2013-12-27