Tags:
create new tag
view all tags
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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2013-12-28 - PeterThoeny
 

Twitter Facebook Digg Google Bookmarks E-mail LinkedIn Reddit    
  • Help
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.