Render all
BlogEntries of a
BlogAuthor as teaser.
Parameters
- NAME: name of a BlogAuthor
- HOME: home topic of the author, defaults to the one in the Main
- LIMIT: number of postings per page
- SKIP: offset into the archive
Implementation
%STARTINCLUDE%
*~~
<h1 style="margin-bottom:0px;padding-bottom:0px">
~~~ [[%IFDEFINED{"%HOME%" then="%HOME%" else="%MAINWEB%.%NAME%"}%][%SPACEOUT{"%NAME%"}%]]
</h1>
<div class="blogArchiveDescription">
%DBQUERY{topic="%NAME%" format="$expand(TopicDescription)"}%
</div>
%~~ DBCALL{"RenderFrontPage"
~~~ %IFDEFINED{"%SKIP%" then="SKIP=\"%SKIP%\"" glue="off"}%
~~~ %IFDEFINED{"%LIMIT%" then="LIMIT=\"%LIMIT%\"" glue="off"}%
~~~ AUTHOR="%NAME%"
~~~ }%
*~~
%STOPINCLUDE%
Test
Calls to 'RenderBlogEntriesOfAuthor'