From: Demian K. <dem...@vi...> - 2012-11-28 16:00:01
|
The issue is that UInterface::initGlobals() (in web/sys/Interface.php) is sending the user information to the template prior to the logout process. Try modifying your logout action to include: global $interface $interface->assign('user', false); - Demian From: anna headley [mailto:an...@gm...] Sent: Wednesday, November 28, 2012 10:51 AM To: vuf...@li... Subject: Re: [VuFind-Tech] logout landing page (vufind 1.3) On Wed, Nov 28, 2012 at 10:43 AM, anna headley <an...@gm...<mailto:an...@gm...>> wrote: Hi vufind-tech. I've created a logout page such that services/MyResearch/Logout.php sets a template rather than redirecting back to the front page. It works correctly except that when the page loads it still displays "My Account | Logout" instead of "Login". If you reload the page or follow any link the correct "Login" link is displayed. Looking at header.tpl, there's something going on with $user. I'm not sure where it's being set so I don't know the best way to get rid of it. Little help? Thanks! Anna |