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.
Login: redirect at the last page they signed-in instead of be redirected at the homepage.
February 23, 2010
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
if you don't have pretty urls enabled.
$c->getCollectionId()
if you don't have pretty urls enabled.





okhayat
Use this site's mothod
For example, while browsing, you click on 'sign-in' and you'll notice the address appends ?rcID=/path