I want to use a custom template to display the domain admin details for a custom Registrar module.
I've taken a look at the custom template documentation page at https://docs.whmcs.com/Working_with_Module_Templates, which says the template should either go in the module folder or the relevant subfolder in the main template folder.
I've tried duplicating the standard clientareadomaincontactinfo.tpl file in both of these directories and I've also tried assigning a template by using
return array(
'templatefile' => "contact",
'vars' => array('error' => $error, 'success' => $success, 'values' => $values),
);
in the _GetContactDetails function, but I can't get any of them to work.
I'm not getting any errors , do I need to activate custom templates somehow?