PDA

View Full Version : disble the login in the navbar?


btappan
05-31-2004, 06:20 PM
can i disable the login that shows up in the navbar so that i only have the vbadvanced hompage login? will it still show the [welcome,"username"] in the navbar and show when the last visited? thanks in advance for your help

Chuckie
06-01-2004, 12:27 AM
In Admincp- Styles -Templates - Navbar.
Look for this line: <!-- breadcrumb, login, pm info -->
Then Delete the code from there till you get to: <!-- / breadcrumb, login, pm info -->

You then save the navbar template.

This will remove the whole top loigin box and the logout button. You may need to experiment to remove only the parts you want.

I would recommend you save a copy of the whole template before editing it just in case you want to revert back or make a mistake.

Our Sponsors
 

PixelFX
06-01-2004, 06:36 AM
would a conditional work in this case?

btappan
06-01-2004, 09:00 AM
okay, i cut this from the code:

<!-- login form -->

and everything in between

<!-- / login form -->

and it got rid of just the login. it still shows the welcome message and logout button. the only thing is the height of the cell above the navbar links changes between wether you are logged in or logged out because if you are logged out there is nothing to fill it, and if you are logged the welcome message is there.

need to have a fixed the height of the cell somehow