nuffsaid Posted July 29, 2018 Share Posted July 29, 2018 Hi, I'm trying to set up additional domain fields for a custom domain extension but when i add the line intoĀ /resources/domains/additionalfields.php it shows the raw code on the top of the page rather than an additionalĀ field on checkout.Ā Please refer to the screenshot attachedĀ Ā I was trying to follow the tutorial hereĀ https://docs.whmcs.com/Additional_Domain_FieldsĀ What am I doing wrong and how can I fix this?Ā Ā What I am trying to do is to add additional fields in the domain upon checkout for .co.zw domain name where a client will enter the core business for the domain name as well as other text fields so i can comply with my local domain registry policies.Ā Ā Thank you in advance for your assistance 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 29, 2018 Share Posted July 29, 2018 44 minutes ago, nuffsaid said: What am I doing wrong and how can I fix this?Ā I think the documentation is wrong and is omitting one very important bit of information... because it's a php file, the first line needs to include... <?php ... but looking at your site, it now seems fixed. š 1 Quote Link to comment Share on other sites More sharing options...
nuffsaid Posted July 29, 2018 Author Share Posted July 29, 2018 Ā 2 hours ago, brian! said: I think the documentation is wrong and is omitting one very important bit of information... because it's a php file, the first line needs to include... <?php  ... but looking at your site, it now seems fixed. š Hi Brian, thank you very much.Ā Adding theĀ <?php tags solved the problemĀ 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.