[pmwiki-devel] ZAP - the directive (:messages:)

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Sat Feb 3 08:56:37 CST 2007


On Sat, 3 Feb 2007, Patrick R. Michaud wrote:

> On Sat, Feb 03, 2007 at 03:38:21PM +0100, christian.ridderstrom at gmail.com wrote:
>> I'd prefer to use another name for the ZAP directive (:messages:) - I
>> might want to use it for a custom directive.
>>
>> Any recommendations on what to call it instead, and how to proceed?
>
> (:messages:) is a PmWiki built-in directive (i.e., it's in the core). It 
> displays the contents of the $MessagesFmt array -- e.g., in the 
> EditForm.

Great!  I suspect I can then just use this instead of rolling my own.

I looked for some documentation but it was a bit sparse :-)

When is the (:messages:) replaced with $MessagesFmt?  At a late stage?

cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-devel mailing list