Can anyone tell me where the logout function is handled(what file holds the code). I am trying to make it redirect to a different page rather than the gallery homepage. Please help....Thanks in advance.
First you will have to tell us which logout function you are trying to change. Then I will tell you that it is unwise to modify the zenphoto core as you will find yourself always having to re-apply your changes each time we make a new release.
I want to change the logout that u click once have uploaded pics...I guess it would be the admin logout....on the note that I will have to change it each time...I can deal wit that...just gets confusing for some of the people that are using this gallery that aren't as web savy. Thanks for your help
Alright after looking at it this morning, I changed the link and now it links to my sites homepage but it isn't logging out of the zenphoto.... it needs to go from mysite.com/zenphoto/zp-core/ to mysite.com while logging out of the photo gallery.. Is there any easy way to do this? Thanks for your help so FAR!!!
so now I noticed that no matter where I am in the zenphoto if i add ?logout to the url it will log out and take me back to the gallery home.....where would I change this redirect??????????? i need it to go to my main sites home page and not the gallery home page
okay...well thanks for sending me on a wild goose chase....none of these answers actually led me to solution. I continued searching in the file structure today and was able to find it on my own.... for anyone that has this same problem here is how to fix it.....open up auth_zp.php and then do ctrl-f to try to find logout....then there will be a variable called $redirect change this to what file u want it to redirect to...if you want to change it to a file outside the file structure u have to change the header(......) portion by taking out FULLWEBPATH . '/' then u must go to the rest of the $redirect variable and add FULLWEBPATH . '/' .
Comments