DeeEmm

Pragmatism in code

If you would like to completely hide the menu bar from non-members, then this is the mod for you.

Edit

templates/base/scripts/BxBaseMenu.php

Find

return $this->sCode;

Change it to...

if (islogged()){
return $this->sCode;

All Done!

 

If you also want to hide the stripe that the menu bar resided in - you might want to also add this to your template...

div.sys_top_menu {
min-height:0px !important;
}

Of course YMMV depending on template etc.

 

/DM