[pmwiki-users] Re: PmWiki ver 1

EuGeNe eugene at boardkulture.com
Wed Feb 23 13:34:35 CST 2005


Patrick R. Michaud wrote:
>>2- I wanted to be able to display the result of a PHP function I wrote 
>>that is returning HTML formated results in PmWiki. I created a markup to 
>>call that function, etc. it works! Made me realized that there could be 
>>a generic need for a standard markup ([? ?] for example) that would take 
>>a PmWiki-admin defined PHP function and display it's output. Anyone 
>>interested in such things?
> 
> 
> In general, most people create specific markup for each PHP function
> to be accessed.  Since the administrator already needs to specify
> which functions are available to be called (and what parameters need
> passing), it seems that registering each one individually works out
> best.
> 
> Or stated another way, in ver 2 the standard markup for calling
> PmWiki-admin defined PHP functions is (: :) .  :-)

Woa! Just to make sure that I get things right : suppose I have a group 
called Hello and in local/Hello.php I define a function <? function 
hello() { echo "Hello world"; } ?> ... in any page of the group Hello I 
can have (: hello() :) and it will show Hello world?

Thanks,

EuGeNe




More information about the pmwiki-users mailing list