[pmwiki-users] <!--function:

Tomas Pihl tomas at pihl.org
Sun Dec 11 09:44:48 CST 2005


I've created the markup:

Markup("count", "inline", "/\.\.(.*?)\.\./", "<!-- 
function:DisplayCommentsCount($1)-->");

When using this on a page sunch as "This is some text ..Blog.Today..  
and so on", the resulting HTML has the HTML-comment in there but I  
thought Pmwiki would replace it with the result of the functioncall.  
I might have misunderstood this completly or?

How would one do to have a function called from any page, sending in  
the pagename as argument?

---Tomas Pihl
tomas at pihl.org






More information about the pmwiki-users mailing list