r1 - 12 Sep 2007 - 20:13:25 - TWikiGuestYou are here: CWiki >  _BlogPlugin Web > TopicFunction > RenderNextCommentNr

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
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
Blog.RenderNextCommentNr moved from Blog.RenderCommentNr on 26 Sep 2005 - 15:24 by MichaelDaum?
 
CWiki
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding CWiki? Send feedback.