Aaron Kolodjski Posted December 26, 2009 Share Posted December 26, 2009 Hello I would like to remove the company, like for example where you have: I want YOUR COMPANY NAME to register a new domain for me. I want to transfer my domain to YOUR COMPANY NAME I will update my nameservers on an existing domain Or I will register a new domain I changed the default above but cant figure out which template file to remove the company name on this page. Any help would be fantastic Aaron 0 Quote Link to comment Share on other sites More sharing options...
igeek Posted December 27, 2009 Share Posted December 27, 2009 This can be found in the order form template files /templates/orderforms/(currentcart)/adddomain.tpl 0 Quote Link to comment Share on other sites More sharing options...
Aaron Kolodjski Posted December 27, 2009 Author Share Posted December 27, 2009 Thank you very much for the reply. Which variable do I look for to delete? I have my whole setup complete Sept for this, Thank you for your support. Best Regards Aaron 0 Quote Link to comment Share on other sites More sharing options...
bear Posted December 27, 2009 Share Posted December 27, 2009 Look for a line like this one: {if $registerdomainenabled} <tr class="orderrow1"><td width="10"><input type="radio" name="domain" value="register"{if $domain eq "register"} checked{/if} /></td><td><label for="selregister">{$LANG.orderdomainoption1part1} {$companyname} {$LANG.orderdomainoption1part2}</label></td></tr> {/if} {$companyname} is what substitutes the actual company name in the configuration. If you want to change the other text, look in the language file(s) for "orderdomainoption". [WHMCS_root\lang\English.txt] 0 Quote Link to comment Share on other sites More sharing options...
Aaron Kolodjski Posted December 27, 2009 Author Share Posted December 27, 2009 Thanks for the reply I removed {$companyname} from files: /templates/orderforms/boxes/adddomain.tpl /templates/orderforms/boxes/adddomain.tpl /templates/orderforms/default/adddomain.tpl and it still shows, its there something i have to reload? Best Regards Aaron K 0 Quote Link to comment Share on other sites More sharing options...
bear Posted December 27, 2009 Share Posted December 27, 2009 You probably need to empty the cache folder (templates_c). 0 Quote Link to comment Share on other sites More sharing options...
Aaron Kolodjski Posted December 27, 2009 Author Share Posted December 27, 2009 Cleared that folder all sept index.php. Still shows, any ideas? 0 Quote Link to comment Share on other sites More sharing options...
Aaron Kolodjski Posted December 27, 2009 Author Share Posted December 27, 2009 If there deleted from the file and the temps are deleted, what would still be keeping it on the page? Is there any other location this would be other then the files i modified? Best Regards Aaron 0 Quote Link to comment Share on other sites More sharing options...
bear Posted December 27, 2009 Share Posted December 27, 2009 For the best results when working on templated scripts like this, I've found getting a text editor that can search within files to be of great importance (UltraEdit is a great one). You find the one thing you need to locate, then search for that in all files within the folder, even unopened ones. Saves a lot of time. You listed "boxes/adddomain.tpl" twice, but it appeared in the default folder as well. Bear in mind, I'm not searching in the latest version, so it's possible there are changes in the files and names. 0 Quote Link to comment Share on other sites More sharing options...
Aaron Kolodjski Posted December 27, 2009 Author Share Posted December 27, 2009 Sweet! I like that program Found the rest within like 2 minutes, cleared the temp files, and there gone. Thanks for your help Aaron 0 Quote Link to comment Share on other sites More sharing options...
bear Posted December 27, 2009 Share Posted December 27, 2009 Terrific. I've been a fan of that program for years now...does all sorts of neat things. -note to self, get on his reseller program- 0 Quote Link to comment Share on other sites More sharing options...
Greenix Posted April 1, 2010 Share Posted April 1, 2010 (edited) This was very helpful but for the fact I am using web2.0cart and there is no such animal called {$companyname} anywhere in the adddomain.tpl file Any help is greatly appreciated. M Edited April 1, 2010 by Greenix 0 Quote Link to comment Share on other sites More sharing options...
Greenix Posted April 1, 2010 Share Posted April 1, 2010 I must have missed it To remove {$companyname} WHMCS Version 4.2 path /template/orderforms/web20cart/ file: configuredomainproduct.tpl Good luck! 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.