This topic is locked
[SOLVED]

 Global logout redirect

1/10/2009 2:00:50 PM
PHPRunner General questions
P
pjfagen author

Hi.

I want to have all "logout" links redirect after a sucessful logout to my index.html page.

I'd like to do this on a global basis without manually editing every _list.php page.

Looking at the html code for the logout buttons, it has: value="Log Out" {$logoutlink_attrs}

Should I redefine $logoutlink_attrs to contain index.html?

If so, where can I find the definition of $logoutlink?
...or have I made this much harder than it needs to be?
GREAT PRODUCT, by the way!

P
pjfagen author 1/10/2009

Well, duh.

I found it.

Modify login.php, under a=logout, change the location to whatever page you want to go to.

I don't know if this file gets overwritten upon a new build however.

C
chaintm 1/11/2009

Well, duh.

I found it.

Modify login.php, under a=logout, change the location to whatever page you want to go to.

I don't know if this file gets overwritten upon a new build however.


Hmm have you attempted to use the built in login system? as it has this on every page if you implement their built in system with yours it does it for you. If you update in the future and change things I definintly had seen things reset, mostly during those times ofcourse when the editor gets messed up and I have to reset the page <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=36701&image=1&table=forumreplies' class='bbc_emoticon' alt=':P' /> with a little minipulation if you are using ver 5 you could do pretty much any login setup with what they have there.

J
Jane 1/13/2009

answered in your personal email.

P
pjfagen author 1/13/2009

No email received...

J
Jane 1/14/2009

Hi,
this thread was mixed up with another.

Sorry for my fault.