Hello all,
I am in a situation in which I like to redirect the user to special checkout page after login in.
My issue is that I have hard time getting the layout value (I get always default) from views/cart/view.html.php using the following code :
$layoutName = JRequest::getVar('layout', 'default');
Please note that I set the layout in login() method of controllers/user.php using the following code:
$data['return'] = 'index.php?option=com_virtuemart&view=cart&layout=displayNewPage';
Any help would be very appreciated!
Thanks