[pmwiki-devel] parse pages as they are saved

Eemeli Aro eemeli at gmail.com
Tue Feb 24 02:17:28 CST 2009


Bother. Apologies.

Yes, $EditFunctions is what I meant in all the references to
$EditFields. Said mental fart probably came from having just been
fiddling with the $EditFields array for the EditAttributes cookbook
recipe, and the two variables being defined one right after the other
in the code.

eemeli

2009/2/23 Ryan O'Toole <rotoole at gmail.com>:
> a question: you mention the $EditFields array, and the $EditFunctions array
> sort of interchangeably. Was that a typo, or do I need to mess with both?
> $EditFunctions sounds like the right one to append to, but maybe that
> incorrect?
>
> ryan
>
> . . .
>>
>> in turns calls the functions listed in the $EditFields array... That's the
>> place to add
>> your hook, eg. with $EditFunctions[] = 'YourFunctionName';
>
> . . .
>>
>> provided you add your function to the end of the $EditFields array.
>
>
>



More information about the pmwiki-devel mailing list