![]() |
Logout function
I'm wanting to put a logout button on my navbar, I see the "\index.php?logout" but that apparently isn't the way to call it from within the template.
How would I do this? |
Here's the code I'm trying to use, could I please get some advice?
Code:
<if condition="$show['member']"> |
That looks like the logout code.... what happens when a user clicks on it? And what page are you using it on?
|
Thanks for the response!
I'm trying to incorporate it into the first navbar, and have placed the code in my header template. I'm not able to view the button at all. |
It looks like you are using an image for your LogOut button? "<img src="...logout-center.gif" alt="" border="0" />" That is not a valid path, so you won't see a thing. You need to correct your image path.
|
Second one I tried:
Code:
<if condition="$show['member']"> |
All times are GMT. The time now is 05:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|