Businezz 0 Posted November 18, 2020 I would like to add server IP and nameservers visible for clients, i know i have to edit overview.tpl file in /modules/servers/cpanel/templates But how can i add server IP and nameservers? Example how to look like:Server IP: 888.345.657.65ns1.domainame.com (12.345.657.65)ns2.domainname.com (98.345.657.65 0 Quote Share this post Link to post Share on other sites
brian! 3026 Posted November 20, 2020 On 18/11/2020 at 19:09, Businezz said: I would like to add server IP and nameservers visible for clients, i know i have to edit overview.tpl file in /modules/servers/cpanel/templates But how can i add server IP and nameservers? well you wouldn't edit the overview file directly as it would get overwritten during an update - if you had to edit the template, rather than hooking, you would duplicate the template in the current active theme folder and work on the duplicate - the updater shouldn't touch the duplicate template. https://docs.whmcs.com/Working_with_Module_Templates On 18/11/2020 at 19:05, Businezz said: How do i nameservers IP's too next to them? And server main IP besides nameservers? {$serverdata.nameserver1} should show the first name server. {$serverdata.nameserver1ip} should show the first name server IP address etc {$serverdata.ipaddress} should show the server IP address. 0 Quote Share this post Link to post Share on other sites
Businezz 0 Posted November 20, 2020 38 minutes ago, brian! said: well you wouldn't edit the overview file directly as it would get overwritten during an update - if you had to edit the template, rather than hooking, you would duplicate the template in the current active theme folder and work on the duplicate - the updater shouldn't touch the duplicate template. https://docs.whmcs.com/Working_with_Module_Templates {$serverdata.nameserver1} should show the first name server. {$serverdata.nameserver1ip} should show the first name server IP address etc {$serverdata.ipaddress} should show the server IP address. I figured how how to display them, but i overwrite the default template. I'll try what you've suggested. Thanks!! 0 Quote Share this post Link to post Share on other sites