I need to hide the side menu for anonymous users because the top navbar is used to provide casual visitor menu options.
Previously, I was using the following code in the Page_Loading event:
global $BODY_CLASS;
if (!IsLoggedIn())
$BODY_CLASS .= ' sidebar-collapse';
else
$BODY_CLASS .= ' sidebar-mini';
However, as reported elsewhere, this now leaves white-space where the vertical menu would be, rather than expanding the content and footer regions into that empty space.
Could anyone explain how best to achieve the old behaviour?