Changing Logout Re-direct Page

Hi,

This is the first time I have used ZenPhoto, so I am a little clueless! We have a login page setup using the single_login.php hack, and it all works well. When an admin users logs out they are redirected to the admin page "zenphoto/zp-core/admin.php"

Is there any easy way to change this redirect to the URL "zenphoto/single_login.php"

I am sorry if this is really simple, I just can't work out how to change it.

Thanks!

Comments

  • i would really appreciate it anyone was able to help me out on this!
  • This hack mearly does the logon. Oce logged in the logouts are all handled by zenphoto code. Normally it directs you to the gallery, so I don't know how you are getting directed to the admin pages

    So, maybe you should tell us how the users are logging out.
  • Thanks for your reply. I thought there may be an easy way in the zenphoto code to change the redirect URL. When I am logged in as an admin user with limited rights to view a specific album only, and I choose log-out from the admin toolbox while in the actual album or image view, I am redirected to the admin login instead of the album.

    Other users with more rights or privileges are logged out to the gallery index.
  • there will be a fix for this in [2782] included in tonight's build
Sign In or Register to comment.