VirtueMart Forum
VirtueMart 2 + 3 => General Questions => Topic started by: Hesam on September 10, 2021, 00:14:05 am
-
Hi,
My website users do not need to confirm their email address after registration, and after registering their account is activated and goes to the "Account Maintenance" page, but I want to redirect them to the "Orders" page.
please guide me.
-
Go to the baqk end and search for the login module and choose landing page.
Jörgen @ Kreativ fotografi
-
I thinked he talked about registration from VM, not about login module or registration from Joomla.
Then I think he have to change by override view layout for VM registration - change URL for form or something other?
I don't know exactly, because we use OPC from rupostel and registration is overrided by rupostel.
-
I thinked he talked about registration from VM, not about login module or registration from Joomla.
Then I think he have to change by override view layout for VM registration - change URL for form or something other?
I don't know exactly, because we use OPC from rupostel and registration is overrided by rupostel.
Thank you pinochico,
Yes you are right and I changed the URL in the overridden template and the redirect is done correctly but the user registration is not done and no account is created.
-
Was the account created correctly before You changed the template ?
Jörgen
-
Was the account created correctly before You changed the template ?
Jörgen
Thank you for your reply Jörgen,
Yes, The account is created correctly if I don't change the $url variable in the user/edit.php
In the default template:
$url = vmURI::getCurrentUrlBy('request');
In the override template I change it to:
$url = 'index.php?option=com_virtuemart&view=orders';
-
Please someone to guide