[pmwiki-devel] Calling a non existent function from a skin tempate

Dfaure dfaure at cpan.org
Fri Jan 26 00:09:37 CST 2007


Hi,

If I put a line like:

<!--function:MyFunction ...-->

into a skin template, without having the function effectively defined,
I get the function call itself output as a string during the page
rendering, stripped of the html comment marks.
If this approach seems good during skin development, I don't think it
should be kept on production site. As a "working" sample, we could
refer to a use-case of the StopWatchHTML() function:

<!--function:StopWatchHTML 1 -->

renders as:

StopWatchHTML 1

when $EnableDiag isn't enabled...
Dom



More information about the pmwiki-devel mailing list