Great! I&#39;ll work on this.<br>Thanks, Hans, for the solutions! And thanks, Pm, for the insight into the problem!<br><br>Mark<br><br><div class="gmail_quote">On Tue, Oct 28, 2008 at 11:39 AM, Hans <span dir="ltr">&lt;<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Tuesday, October 28, 2008, 4:04:31 PM, Mark Paterson wrote:<br>
<br>
&gt; This is great! I don&#39;t suppose there are also post-processing filters for<br>
&gt; dessert? I&#39;d like to be able to perform some actions based on the form being<br>
&gt; submitted successfully.<br>
<br>
</div>I have not implemented a function hook for a post-processing function,<br>
since Fox is built to be able to process posting to multiple pages,<br>
and it is a little hard to determine when a post-processing function<br>
should be triggered.<br>
<br>
But you could use the global variable $IsPagePosted, which is set to<br>
true if &nbsp;a page is posted, and use the php function<br>
register_shutdown_function, which lets you run a custom function<br>
once pmwiki is finished. You could put all this into your filter<br>
function. For instance like this in the FoxFilter function:<br>
<br>
 &nbsp; global $IsPagePosted;<br>
 &nbsp; if ($IsPagePosted)<br>
 &nbsp; &nbsp; &nbsp; register_shutdown_function(&#39;MyCustomPostProcessFunction&#39;, $pagename);<br>
<br>
Hope this helps a bit.<br>
<font color="#888888"><br>
 &nbsp;~Hans<br>
<br>
</font></blockquote></div><br>