[pmwiki-users] redirect on save?
tmdowling at gmail.com
Tue Feb 21 09:04:06 CST 2006
Hi, list: I've been working with John Rankin's excellent WikiForms recipe,
setting up some classified ads for the members of an organization. The
leadership wants users to be able to complete entry of their data into the
form and be redirected back to the form wikigroup's HomePage when they click
"Submit". The default behavior, of course, is that they stay on the same
page they've been editing, but see it in browse view rather than in
form-edit or edit view.
John pointed out that the default behavior is appropriate, since it's only
civil for authors to review their work after they save it. In this case,
though, being re-directed back to the HomePage of the form's wikigroup would
amount to the same thing, since that's where the tabular representation (a
la PITS) of all fields of all entries is.
So John helped me formulate my question to the list: After an author
presses 'Save' on an edit form, is it possible to tell pmwiki to redirect to
the group's HomePage (or any other page), so that the author ends up viewing
the redirection target page, instead of on the page she or he was editing?
Thanks to John for his coaching on this, and thanks to the list for any
thoughts or suggestions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users