Looking for documentation? Take a look on our wiki
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.
Was the account created correctly before You changed the template ?Jörgen
$url = vmURI::getCurrentUrlBy('request');
$url = 'index.php?option=com_virtuemart&view=orders';