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='published'"
~~~   header="<noautolink>
~~~     <div class=\"blogSideBarSection blogSideBarRelated\">
~~~     <h1>Related$percntREDDOT{\"%WEB%.%TOPIC%\"}$percnt</h1><ul>" 
~~~   format="<li class=\"blogRelated$depth\">
*~~     <a href=\"%SCRIPTURLPATH{"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