Function: RenderNextCommentNr

Compute the next comment nr given a current BlogEntry or BlogComment

Parameters

Implementation

%STARTINCLUDE%
*~~
%~~ DBQUERY{topics="%NAME%" separator="none"
~~~    format="$expand(Nr and '.')"
~~~  }%
*~~ 
%~~ DBQUERY{"TopicType='BlogComment' AND BlogRef='%NAME%'" 
~~~    format="none" separator="none"
~~~    header="$percntCALC{\"$EVAL($count+1)\"}$percnt$n*~~"
~~~ }%
*~~
%STOPINCLUDE%

Test

<1 *~~>

<1 *~~>

Calls to 'RenderNextCommentNr'

TopicForm
TopicType TopicFunction
TopicDescription Compute the next comment nr given a current BlogEntry or BlogComment
Blog.RenderNextCommentNr moved from Blog.RenderCommentNr on 26 Sep 2005 - 15:24 by MichaelDaum?