![]() |
|
Changing Logout Re-direct Page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Changing Logout Re-direct Page (/thread-954.html) |
Changing Logout Re-direct Page - annabell - 2008-10-16 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! Changing Logout Re-direct Page - annabell - 2008-10-21 i would really appreciate it anyone was able to help me out on this! Changing Logout Re-direct Page - sbillard - 2008-10-21 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. Changing Logout Re-direct Page - annabell - 2008-10-21 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. Changing Logout Re-direct Page - sbillard - 2008-10-21 there will be a fix for this in [2782] included in tonight's build |