[pmwiki-users] redirecting from admin pages
Patrick R. Michaud
pmichaud at pobox.com
Sat Dec 31 09:34:14 CST 2005
On Sat, Dec 31, 2005 at 11:59:26AM +0100, bram wrote:
> (:if name SideBar:)
> (:redirect Main.StartPagina:)
> (:if:)
>
> works fine
>
> but I use Site.SideBar in most groups so I would like to:
>
> (:if name SideBar:)
> (:redirect {$Group}.StartPagina:)
> (:if:)
>
> however this doesn't work.
Try:
(:redirect StartPagina:)
Note that at the moment the (:if:) lines aren't actually
doing anything here -- redirect statements are processed before
any other markup, and only for the main page being viewed.
This may change in the near future, but that's how things are
now.
Pm
More information about the pmwiki-users
mailing list