crucial Posted January 5, 2009 Share Posted January 5, 2009 How can the ns1 and ns2 fields be removed from VPS/Dedicated orders? These are irrelevant fields for many of our customers, so would be useful to be able to remove! 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 5, 2009 Share Posted January 5, 2009 To remove it completely in orderforms/default/configuredomains.tpl find {if $atleastonenohosting}<p><strong>{$LANG.domainnameservers}</strong></p> <p>{$LANG.cartnameserversdesc}</p> <div class="orderbox"> <b class="orderboxrtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <div class="orderboxpadding"> <table> <tr><td>{$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> </table> </div> <b class="orderboxrbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> {/if} and replace it with {if $atleastonenohosting} <!-- <p><strong>{$LANG.domainnameservers}</strong></p> <p>{$LANG.cartnameserversdesc}</p> <div class="orderbox"> <b class="orderboxrtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <div class="orderboxpadding"> <table> <tr><td>{$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> </table> </div> <b class="orderboxrbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b> </div> --> {/if} 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.