Great! I'll work on this.
Thanks, Hans, for the solutions! And thanks, Pm, for the insight into the
problem!

Mark

On Tue, Oct 28, 2008 at 11:39 AM, Hans <[EMAIL PROTECTED]> wrote:

> Tuesday, October 28, 2008, 4:04:31 PM, Mark Paterson wrote:
>
> > This is great! I don't suppose there are also post-processing filters for
> > dessert? I'd like to be able to perform some actions based on the form
> being
> > submitted successfully.
>
> I have not implemented a function hook for a post-processing function,
> since Fox is built to be able to process posting to multiple pages,
> and it is a little hard to determine when a post-processing function
> should be triggered.
>
> But you could use the global variable $IsPagePosted, which is set to
> true if  a page is posted, and use the php function
> register_shutdown_function, which lets you run a custom function
> once pmwiki is finished. You could put all this into your filter
> function. For instance like this in the FoxFilter function:
>
>   global $IsPagePosted;
>   if ($IsPagePosted)
>       register_shutdown_function('MyCustomPostProcessFunction', $pagename);
>
> Hope this helps a bit.
>
>  ~Hans
>
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to