Function: RenderTopicTypes

Render list of TopicTypes

Parameters

Implementation

%STARTINCLUDE%
*~~ <div class="blogSideBarSection blogSideBarTopicType">
~~~   <h1>%NAME%%REDDOT{"%WEB%.%TOPIC%"}%</h1>
~~~   <noautolink>
~~~   <ol>
%~~     DBQUERY{"TopicType=~'\b%NAME%\b'" 
~~~       separator=" "
~~~       format="<li> 
~~~         <a href=\"%SCRIPTURLPATH%/view/$web/$topic\" 
~~~            title=\"$formfield(TopicDescription)\"
~~~            style=\"$percntIFDEFINED{\"$web.$topic\" as=\"%BASEWEB%.%BASETOPIC%\" then=\"color:red\"}$percnt\">
~~~           $topic
~~~         </a></li>"
~~~    }%
~~~   </ol>
~~~   </noautolink>
~~~ </div>
*~~
%STOPINCLUDE%

Test

Calls to 'RenderTopicTypes'

Topic revision: r4 - 2009-06-04 - 14:26:40 - TWikiAdminUser
Blog.RenderTopicTypes moved from Blog.RenderRecentTopicTypes on 2005-10-19 - 15:52 by MichaelDaum
 
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback.