[pmwiki-users] Suppress the redirection notice based on originating page?
Patrick R. Michaud
pmichaud at pobox.com
Thu Jun 22 17:04:22 CDT 2006
On Thu, Jun 22, 2006 at 02:10:16PM -0500, Tegan Dowling wrote:
> I can add a local/group.page.php or local/group.php with
> $PageRedirectFmt = ''; on it to suppress the notice of redirection
> based on the destination of the redirect. I'd like to be able to
> suppress notice of redirection based on the group or group.name of the
> *originating* page.
>
> Is there a way? Maybe something I could put in local/config.php?
if (@$_GET['from']) {
$group = PageVar($_GET['from'], '$Group');
if ($group == 'SomeGroup') $PageRedirectFmt = '';
}
Pm
More information about the pmwiki-users
mailing list