Walther Posted March 2, 2023 Share Posted March 2, 2023 Problem: few TLDs (i.e. .es) does not allow direct modification of registrant contact data; but in WHMCS also for these domains there's the standard "contact information" page in domain management page. So it happens that the user try to do it, but it doesn't work... There's any way to remove this menu item for given TLDs? Or having a pop up to warn the user to open a ticket for this kind of operation? 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted March 2, 2023 Share Posted March 2, 2023 It's your registrar module that allows the client to access the Contact Information page. The module should not return anything in the _GetContactDetails and _SaveContactDetails for those TLDs. 0 Quote Link to comment Share on other sites More sharing options...
Walther Posted March 2, 2023 Author Share Posted March 2, 2023 (edited) 12 minutes ago, DennisHermannsen said: It's your registrar module that allows the client to access the Contact Information page. The module should not return anything in the _GetContactDetails and _SaveContactDetails for those TLDs. Unluckly, the registrar module manages all the TLDs the same, so even if it's not working the user is still be able to access. Any way to remove the item from the menu using some kind of hook? Edited March 2, 2023 by Walther 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted March 2, 2023 Share Posted March 2, 2023 You can modify the hook or ask the module developer to modify it to not return data if the TLD is one that doesn't allow changes to the contact details. Otherwise, you can create a hook that uses JavaScript to remove the Contact Infromation tab. 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.