Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Logout + link
Gerrit
Posted on 24 Aug 2009, 21:34:11

Access: Member
Total Posts: 15
Joined: 2009-08-23

Hi Chris and all others.
I don't know much about php, so i have the next question

in admin php the line i changed the following line...

<a onfocus="this.blur()" class="navbase" href="index.htm?action=logout"> <span class="navbase2 logouticon"><?php echo $langmsg[menu][23]; ?></span> </a>

is this possible?
my result... onclick you go to the index.htm page but the logout is not working.
is there a solution for this?

Grettings Gerrit.
#782
Chris
Posted on 24 Aug 2009, 21:37:39

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I don't think I'm entirely sure what it is you're trying to do.

When you click the logout link, you want it to log you out from the system and redirect you to another page?
#783
Gerrit
Posted on 24 Aug 2009, 21:40:49

Access: Member
Total Posts: 15
Joined: 2009-08-23

You have it comletely right, that's what i want :-) Chris
#784
Chris
Posted on 24 Aug 2009, 21:43:18

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Ah in that case this is very simple to do.

Edit the config.php file, on line 538~ you'll see this

Code:
header ("Location: ?");

change that to

Code:
header ("Location: index.html");

Now when you logout you'll be sent to index.html
#785
Gerrit
Posted on 24 Aug 2009, 21:46:22

Access: Member
Total Posts: 15
Joined: 2009-08-23

Thanks alot Chris
I'm going to do that now.
btw I hope you don't mind but i'm working on asite for my son's
bycicle club and i stole your template.


Greetings Gerrit
#786
Last edited by Gerrit at 2009-08-25 03:32:00 Reason:
Chris
Posted on 24 Aug 2009, 21:50:34

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I don't mind at all. Feel free to use it.
#787
Gerrit
Posted on 24 Aug 2009, 21:51:44

Access: Member
Total Posts: 15
Joined: 2009-08-23

Thanks
#788
Network-13.com © 2013