Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How do I remove the Sign In button on the top right?
Hi. I have been having problems with the top right "Not signed in [sign in]" area. I have got the guest sign in on the panel extension and it works perfectly. I get a 403 error on that sign in whenever I click it. So basically I want it gone. I like the idea of showing yourself as signed in up there but I want to get rid of the actualy Sign In link. I hope I'm making sense.
Showing that you are signed in is great but the sign in link does not work and I want it gone if I can. Any help is very appreciated!! Thanks!!
Showing that you are signed in is great but the sign in link does not work and I want it gone if I can. Any help is very appreciated!! Thanks!!
0
This discussion has been closed.
Comments
The easy way:
#Session {display: none;}
The hard way:
Look in theme/menu.php line 4-12 .
Change this:
echo '<div id="Session">'; if ($this->Context->Session->UserID > 0) { echo str_replace('//1', $this->Context->Session->User->Name, $this->Context->GetDefinition('SignedInAsX')).' (<a href="'.$this->Context->Configuration['SIGNOUT_URL'].'">'.$this->Context->GetDefinition('SignOut').'</a>)'; } else { echo $this->Context->GetDefinition('NotSignedIn').' (<a href="'.AppendUrlParameters($this->Context->Configuration['SIGNIN_URL'], 'ReturnUrl='.GetRequestUri()).'">'.$this->Context->GetDefinition('SignIn').'</a>)'; } echo '</div>';
To:
echo '<div id="Session">'; if ($this->Context->Session->UserID > 0) { echo str_replace('//1', $this->Context->Session->User->Name, $this->Context->GetDefinition('SignedInAsX')).' (<a href="'.$this->Context->Configuration['SIGNOUT_URL'].'">'.$this->Context->GetDefinition('SignOut').'</a>)'; } echo '</div>';