sitemaker Posted December 15, 2008 Share Posted December 15, 2008 I am a complete newbie to WHMCS, just installed and having all sorts of questions and problems. Will post them in separate threads as they are unrelated. Here's a question (not a problem) that I hope will be simple: When setting the details of a US domain, there's a drop-down select list, labeled 'Nexus', with options like CS11, CS12, etc. I would like to add some prompts (explaining the meaning of each CSxx code) near that field of the form/template. Can someone point me to which template file or php file is producing that admin form? (A scan of the language file doesn't turn up the "nexus" label) Thanks for your attention. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 15, 2008 Share Posted December 15, 2008 Those fields are defined in additionaldomainfields.php They are displayed in configuredomains.tpl I display comments about the .com.au domains with a tool tip java script available at http://www.walterzorn.com As an example here is the original part that displays these fields in configuredomains.tpl {foreach key=domainfieldname item=domainfield from=$domain.fields} {$domainfieldname}: {$domainfield}<br /> {/foreach} And here is how I have mine {foreach key=domainfieldname item=domainfield from=$domain.fields} <table border="0"> <tr><td style="text-align:right;" width="120px" nowrap>{$domainfieldname}: {if $domainfieldname eq "Registrant Name"} <a href="#" onmouseover="Tip('{$LANG.tooltipregistrantname}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Registrant ID Type"} <a href="#" onmouseover="Tip('{$LANG.tooltipregistrantidtype}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Registrant ID"} <a href="#" onmouseover="Tip('{$LANG.tooltipregistrantid}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Eligibility Name"} <a href="#" onmouseover="Tip('{$LANG.tooltipeligibilityname}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Eligibility ID"} <a href="#" onmouseover="Tip('{$LANG.tooltipeligibilityid}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Eligibility ID Type"} <a href="#" onmouseover="Tip('{$LANG.tooltipeligibilityidtype}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Eligibility Type"} <a href="#" onmouseover="Tip('{$LANG.tooltipeligibilitytype}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} {if $domainfieldname eq "Eligibility Reason"} <a href="#" onmouseover="Tip('{$LANG.tooltipeligibilityreason}')" onmouseout="UnTip()">{$LANG.tooltiphelp}</a>{/if} </td> <td>{$domainfield} {if $domainfieldname eq "Registrant ID"} {$LANG.linkasiclookup}{/if} </td> </tr> </table> {/foreach} As you can see I have added the descriptions in the language file. {$LANG.tooltiphelp} is a link to the tooltip button in the language file eg.. $_LANG["tooltiphelp"] = "<img src=\"includes/js/helpsm2.png\" border=\"0\" alt=\"tooltip\"/>"; 0 Quote Link to comment Share on other sites More sharing options...
sitemaker Posted December 17, 2008 Author Share Posted December 17, 2008 Super! Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted January 8, 2009 Share Posted January 8, 2009 hay Sparky, how about a bit of original author credit? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 8, 2009 Share Posted January 8, 2009 hay Sparky, how about a bit of original author credit? Yes Thanks Dan, I actually forgot that I got that from you, apologies, I should have asked you first before I posted it. I must be going senile in my old age. 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted January 8, 2009 Share Posted January 8, 2009 I must be going senile in my old age. Welcome to the club. 0 Quote Link to comment Share on other sites More sharing options...
R-n-R Posted January 9, 2009 Share Posted January 9, 2009 (edited) Those fields are defined in additionaldomainfields.phpThey are displayed in configuredomains.tpl I havent messed with the template hardly at all since I started using WHMCS in Oct 08. I found the configuredomains.tpl in /mywhmcsinstall/templates/orderforms/default (or /mywhmcsinstall/templates/orderforms/cart or /boxes or /singlepage) However I am having a difficult time finding the /additionaldomainfields.php files, any clues for this old fart? Edited January 9, 2009 by R-n-R 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted January 9, 2009 Share Posted January 9, 2009 try the /includes/ directory 0 Quote Link to comment Share on other sites More sharing options...
sitemaker Posted January 23, 2009 Author Share Posted January 23, 2009 Thank you both then. 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.