Support Forum

To hide login/logout bitton

MR Marco Rossi
Marco Rossi
Member

Again me :)

I need to hide the login/logout buttons because I want that my users manage this only from site.

How to disable and hide them from forum page? 

Have to modify spHEAD.php theme template? or what else? and which part?

Thanks in advance

Marco

4 Answers

New Answer

BR Brandon
Brandon
Member

Yes you would modify the SP header file, spHead.php.

You can comment out or remove the line that displays it.

sp_LogInOutButton(….);

Or see the codex sp_LogInOutButton for more info on how it works.

 

 
MR Marco Rossi
Marco Rossi
Member

Commenting the row do the job.

Thanks a lot

 

Marco

MP Mr Papa
Mr Papa
Member

you did make your own sp theme, right? ;)

http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/