Jump to content

Where to edit which template to add prompts by the .US nexus drop-down select list?


sitemaker

Recommended Posts

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.

Link to comment
Share on other sites

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\"/>";

Link to comment
Share on other sites

  • 4 weeks later...
Those fields are defined in additionaldomainfields.php

They 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 by R-n-R
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

Guest
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