Results 1 to 2 of 2

Thread: How does domain configurations page populate $domain.fields?

  1. #1
    Join Date
    Feb 2011
    Posts
    1

    Question How does domain configurations page populate $domain.fields?

    I'm trying to setup a domain registrar with WHMCS and I'm trying to figure out where $domain.fields is populated so I can add a field (also I noticed with domains like .net vs. .net.au it doesn't show as many fields?)

    snippet from template file I’m referring to orderforms\cart\configuredomains.tpl:
    PHP Code:
    {foreach key=domainfieldname item=domainfield from=$domain.fields}
    <
    label>{$domainfieldname}: {$domainfield}</label><br />
    {/foreach} 
    Any advice would be appreciated.

  2. #2
    Join Date
    Jan 2011
    Posts
    298

    Default

    $domain is a smarty variable, which would have been assigned via PHP... which is probably encrypted with Ioncube.... so I'm not sure if what you are trying to do is possible.

    If you could give some more details, maybe I could help you better?
    Sitepearl Networks
    WHMCS Script Installer - WHMCS KB Articles
    Reliable Website Hosting Solutions

Similar Threads

  1. populate all fields in domain registrant, admin, tech
    By disenioweb in forum Feature Requests
    Replies: 0
    Last Post: 11-05-07, 12:50 AM