Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

PmWiki

pmwiki.org

00674

Summary: Redirect on Save (or Cancel) Form
Created: 2006-02-21 20:24
Status: Closed - added for 2.1.beta33
Category: Feature
Assigned:
Priority: 2
Version: 2.0.13
OS: PHP 4.4.1.

Description: Is it possible to have pmwiki redirect an author, when the author presses 'Save' or 'Cancel' on an edit form, 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?

Asked on the Mailing List. PM's reply:

Within the present PmWiki code I can't think of an easy and reliable way to do this, but I can see about adding a configuration variable to take care of it. (You might make a PITS entry for it and reference this message so I don't forget. Or just keep bugging me about it. :-)


Now added for 2.1.beta33 -- the $EditRedirectFmt variable lets the administrator specify a page name to which the author will be redirected upon saving (or canceling) a page edit.

--Pm

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM