[pmwiki-users] Suppress the redirection notice based on originating page?
Tegan Dowling
tmdowling at gmail.com
Thu Jun 22 17:23:53 CDT 2006
On 6/22/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> 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 = '';
> }
Yay! Thanks so much.
More information about the pmwiki-users
mailing list