AVR32 Linux Developer 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=\"permalink 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
r1 – 2005-11-10 – 15:23:12 – TWikiContributor
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.