Saturday, March 31, 2007, 1:59:02 PM, Neil wrote:

> On 2007-03-31 SteP is rumoured to have said:
>> How can I hide the left sitebar when the login form is being displayed?
>> 

I found the following in a not used config part which may help you,
but I have not tried this recently:

# stripping sidebar, title and footer when not logged in
if (!$AuthId) {
   $HTMLStylesFmt[] = " 
        #wikilogo, #wikihead, #wikileft, #wikititle, #wikifoot,
        #sidebar, #titlebarbox, #footer {display:none} 
        #sidebarbox {width:0} #main {margin:0}
        #left-box, #right-box, #topnavbox {display:none}\n";
};

$AuthPromptFmt = array(&$HTMLStartFmt,
    'page:$SiteGroup.AuthForm', &$HTMLEndFmt);

    
You may need to adjust the div names in above css.

  ~Hans


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to