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.
Quote from: pinochico on September 10, 2021, 08:52:35 AM
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
Quote from: Jörgen on September 10, 2021, 15:53:52 PM
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