Sign In  |  Cart  |  Join Now

Login: redirect at the last page they signed-in instead of be redirected at the homepage.

February 23, 2010
Status: New
Priority: Medium

How important is this to you?

Very
Somewhat
Not important
Please Login to Vote
I've received this comment from 5 of my clients over last 3 months.

They ask to be redirect at the last page they signed-in instead of be redirected at the homepage.

Use this site's mothod

Feb 25, 2010 at 11:09 AM
Looking at how this site does it, you only have to append rcID=/path to your login page.
For example, while browsing, you click on 'sign-in' and you'll notice the address appends ?rcID=/path
 

Thank you

Feb 25, 2010 at 12:10 PM
It's working. Thanks

<a href="<?php echo $this->url('/login?rcID=') . DIR_REL . $c->getCollectionPath() ?>" style="font-size:11px;"><strong><?php echo t('Sign in your account')?></strong></a>
 

Update to example

Jul 18, 2010 at 4:35 PM
Thanks for this guys, but I would use

$c->getCollectionId()


if you don't have pretty urls enabled.
 
 

Hot Spots...

ForumsPartners | Contact | Blog

Search site