'cause everyone should have a blog

Function: RenderRelatedEntries

Render a list of related BlogEntries for the BlogEntry sidebar

Parameters

  • NAME: topic to collect related once

Implementation

%STARTINCLUDE%
~~~
%STOPALIASAREA%
%~~ RELATEDTOPICS{"%NAME%"
~~~   depth="2"
~~~   filter="State='enabled'"
~~~   header="<noautolink>
~~~     <div class=\"blogSideBarSection blogSideBarRelated\">
~~~     <h1>Related$percntREDDOT{\"%WEB%.%TOPIC%\"}$percnt</h1><ul>" 
~~~   format="<li class=\"blogRelated$depth\">
*~~     <a href=\"%SCRIPTURL{"view"}%/$web/$topic\"
~~~        title=\"link to $topic\">$headline</a></li>"
~~~   footer="</ul></div></noautolink>"
~~~ }%
%STARTALIASAREA%
~~~
%STOPINCLUDE%

Test

Calls to 'RenderRelatedEntries'

TopicForm
TopicType: TopicFunction
TopicDescription: Render a list of related BlogEntries for the BlogEntry sidebar

r2 - 21 Mar 2006 - 02:36 - TWikiAdminGroup
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding QBFreak.net? Send feedback
Powered by TWiki/Dakar Wed, 08 Feb 2006 build 8740