[pmwiki-users] help with basic pmwiki code
Mark Lee
mark.lee.phd at gmail.com
Wed May 22 07:34:06 CDT 2013
I am new to pmwiki. What is a simple function for counting the number of
comments used on a page and then displaying the result anywhere on the page?
For example, if I have markup like this, the function would display the
result that there are three comments in the the markup.
---------------------------------------------------------------------------------------
(:title PMWiki Programming Example 1:)
!Counting comments
!!The comments go here
There is a block of comments here that are not displayed. There are three
comments.
(:comment This is comment1:)
(:comment This is comment2:)
(:comment This is comment3:)
!!The results go here
The function should find three comments.
---------------------------------------------------------------------------------------
Thanks,
Mark, Seattle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130522/ecb8b51c/attachment.html>
More information about the pmwiki-users
mailing list