"Hans" wrote :
> okay, i played with this, to give you an idea:
Hi Hans, thanks for this. I understand how it works now.
It can be reused as a 'generic/demo" template for powertools.
In the meanwhile, I have investigated the alternative MarkupToHTML() path,
... and it works :
// in my main function, I have added the code below
...
if ( $returntype == "" ) {
$page['text'] = MarkupExpression($pagename, $mymarkup); // markup is
executed with powertools
} else {
$page['text'] = MarkupToHTML($pagename, $mymarkup); // regular markup
}
$page['text'] = strip_tags($page['text']); // optional
// and created a new template in Site.LocalTemplates
[@
[[#createdby]]
{=$Name}	{=$Title}	{=$CreatedBy}
[[#createdbyend]]
@]
// markup used in my 'client' application
(:pagelist group=People fmt=#createdby [email protected])
SH
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users