Jump to content

Remove NS1 and NS2


Recommended Posts

Heres some basic instructions. Open up templates/orderforms/YOURTEMPLATE/configuredomains.tpl.


Locate the following code block:


{if $atleastonenohosting}
<div id="domainconfig">
<table align="center">
<tr><td width="120">{$LANG.domainnameserver1}:</td><td><input type="text" name="domainns1" size="40" value="{$domainns1}" /></td></tr>
<tr><td>{$LANG.domainnameserver2}:</td><td><input type="text" name="domainns2" size="40" value="{$domainns2}" /></td></tr>
<tr><td>{$LANG.domainnameserver3}:</td><td><input type="text" name="domainns3" size="40" value="{$domainns3}" /></td></tr>
<tr><td>{$LANG.domainnameserver4}:</td><td><input type="text" name="domainns4" size="40" value="{$domainns4}" /></td></tr>
<tr><td>{$LANG.domainnameserver5}:</td><td><input type="text" name="domainns5" size="40" value="{$domainns5}" /></td></tr>


Replace it with this:


{if $atleastonenohosting}
<input type="hidden" name="domainns1" value="ns1" />
<input type="hidden" name="domainns2" value="ns2" />
<input type="hidden" name="domainns3" value="ns3" />
<input type="hidden" name="domainns4" value="ns4" />
<input type="hidden" name="domainns5" value="ns5" />


This should fix it for you, though I have not tested it.


Also, your template code may be a bit different. The important thing is to replace the text between the {if $atleastonenohosting} smarty conditional.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated