I am using the Login Destination module along with the Lightbox2 module's 'login box' feature. Once I login, I am taken to the site's home page. I want to have the user returned to the page they were at when they clicked the login link.

I have tried entering the following in the 'PHP snippet (experts only)' field in the 'URL destination settings' section of the Login Destination configuration page along with a number of other things but none of it is working.

    path=> $_REQUEST['q'];

Any thoughts???

Thanks,
BC

Comments

JaredAM’s picture

Try

return false;