[pmwiki-users] how to hide sidebar when login form is displayed?

Patrick R. Michaud pmichaud at pobox.com
Sat Mar 31 13:05:23 CDT 2007


On Sat, Mar 31, 2007 at 01:00:05PM +0100, SteP wrote:
> How can I hide the left sitebar when the login form is being displayed?

if ($action == 'login') SetTmplDisplay('PageLeftFmt', 0);

> I suspect it can't be done with markup alone. I tested an unconditional 
> (:noleft:) in triad and fixflow skins, but Page?action=login still had a 
> visible sidebar.

Unfortunately, (:noleft:) in Site.AuthForm doesn't work
because the sidebar is usually displayed and processed before 
the authorization form.

Pm



More information about the pmwiki-users mailing list