<span class="gmail_quote"><br></span><span class="q">On 24/02/07, <b class="gmail_sendername">Francis Casson</b> &lt;<a href="mailto:pmwiki@bleaksky.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
pmwiki@bleaksky.net</a>&gt; wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span>On 24/02/07, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pmichaud@pobox.com</a>&gt; wrote:
<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;After clicking on the save button on the edit form, it it possible to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;redirect the browser to a different page?
<br><br>At present this isn&#39;t possible, but it&#39;s come up enough that I may
<br>add this capability in the near future.<br><br></blockquote></div></span>The reason I asked is because I want to redirect the user to a email form prompting them to send an email to notify others that the wiki has been updated. I don&#39;t think Cookbook/Notify is suitable, because I want the user to be able to exercise discretion about who to and when to send the emails.&nbsp; 
<br><span></span><br></blockquote></div><br>Ah, I see now that $EditRedirectFmt has been added...<br><br></span>Anyway, I preferred just to have a header to the page after editing rather than a whole new page to be redirected to, so I tried to do it like this:
<br>
<br>
In config.php:<br>
&nbsp;$FmtPV[&#39;$Posted&#39;] = &quot;&#39;&quot; . $IsPagePosted . &quot;&#39;&quot;; #capture contents of $IsPagePosted<br>and I also tried<br>&nbsp;$FmtPV[&#39;$Posted&#39;] = &#39;$GLOBALS[&quot;IsPagePosted&quot;]&#39;;<br>


<br>
But I couldn&#39;t get my new page variable to display anything.&nbsp; Am I using FmtPV wrongly?<br><br>
Then I planned on using (:if Posted true:) in a group header or some other permanent part of the html template to generate a message (or email form) after posting. But I&#39;m also not sure of the syntax for the conditional markup.
<br><br>Is there any reason why this approach wouldn&#39;t work if I could get the syntax right?&nbsp; Or is there a way it could it be done with&nbsp; <span class="q">$EditRedirectFmt</span> by including the page you have come from, plus a header with the message?
<br><br>Many thanks,<br><span class="sg"><br>
Francis
</span>