hotirish99 Posted April 21, 2020 Share Posted April 21, 2020 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? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.