Render the header of a
BlogPage
Parameters
Implementation
%STARTINCLUDE%
%~~ DBQUERY{topic="%NAME%" web="%WEB%"
~~~ format="%DBCALL{"%TOPIC%" section="format"}%"
~~~ }%
%STOPINCLUDE%
Format
%STARTSECTION{"format"}%
*~~ <div class=\"blogPageHeadline\">
~~~ <h1>$formfield(Headline)$percntREDDOT{\"$web.$topic\"}$percnt</h1>
~~~ </div>
~~~ <div class=\"blogInfo\">
~~~ <span class=\"blogDate\">
~~~ $formatTime(createdate, '$day $mon $year - $hour:$minute')
~~~ </span>
~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
~~~ header=\"in <span class=\\"blogCategory\\">\"
~~~ format=\"<a href=\\"%SCRIPTURLPATH{"view"}%/$web/$1\\" rel=\\"tag\\">$1</a>\"
~~~ footer=\"</span>\"
~~~ }$percnt
~~~ <span class=\"blogAuthor\">by [[$web.$formfield(BlogAuthor)][$formfield(BlogAuthor)]] </span>
~~~ $n
~~~ </div>
*~~
%ENDSECTION{"format"}%
Test
Calls to 'RenderBlogPage'