Jump to content
  • 0

put a note under domain name registration case


elbadr

Question

Recommended Posts

  • 0

What module is this? If you're using a domain registrar module, you should do the following:

  1. Create a Package Group specifically for domains. Call it "Domains", if you want.
  2. Create your Domain Registration packages, one for each TLD (is possible, though each price point is ok), add them to the above group.
  3. Use the "Domains and Other" order form type Packages > Order Forms. Select your Domains group from the drop down. Select all other hosting groups you want to offer in the multiselect but NOT your domains group

During checkout, there will be a whois with TLD selection.

Link to comment
Share on other sites

  • 0
21 hours ago, Paul said:

What module is this? If you're using a domain registrar module, you should do the following

Hello, Thank you for your reply !

i don't use any module at this time, i think that i have the solution.

Just Please could you tell me how can i edit this word ( Domain ) in the inside of the box ?

as shown in the picture.

 

Thanks !

Link to comment
Share on other sites

  • 0
21 hours ago, evolvewh said:

My guess is that it's the Universal Module with a configurable option for the domain field.

Hello, Thank you for your reply !

Could you please tell me how can i edit this word ( Domain ) in the inside of the box ?

as shown in the picture.

 

Thanks !

 

Link to comment
Share on other sites

  • 0
11 minutes ago, elbadr said:

Hello, Thank you for your reply !

Could you please tell me how can i edit this word ( Domain ) in the inside of the box ?

as shown in the picture.

 

Thanks !

 

How are you generating the form shown in the picture? I don't see how you could generate this form without a module.

Link to comment
Share on other sites

  • 0
19 minutes ago, evolvewh said:

How are you generating the form shown in the picture? I don't see how you could generate this form without a module.

Generated as normal, when the package have been added, the next step is the domain name configuration.

Now i need Just how can i edit this word ( Domain ) in the inside of the box ?

as shown in this picture :

 

 

19-11-2016 14-44-49.png

Link to comment
Share on other sites

  • 0
50 minutes ago, elbadr said:

I Am using cPanel module

Thank you for finally answering this question. You need to change the name of the field in your configurable option or there may be a file you can modify but I'm not sure of the exact one. Someone else should be able to chime in and provide you with more information to be exact.

Link to comment
Share on other sites

  • 0

open the cpanel module file

components/modules/cpanel/cpanel.php

search

    public function getClientAddFields($package, $vars=null) {
        Loader::loadHelpers($this, array("Html"));
        
        $fields = new ModuleFields();
        
        // Create domain label
        $domain = $fields->label(Language::_("Cpanel.service_field.domain", true), "cpanel_domain");
        // Create domain field and attach to domain label
        $domain->attach($fields->fieldText("cpanel_domain", $this->Html->ifSet($vars->cpanel_domain, $this->Html->ifSet($vars->domain)), array('id'=>"cpanel_domain")));
        // Set the label as a field
        $fields->setField($domain);
        
        return $fields;
    }

replace by

    public function getClientAddFields($package, $vars=null) {
        Loader::loadHelpers($this, array("Html"));
        
        $fields = new ModuleFields();
        
        // Create domain label
        $domain = $fields->label(Language::_("Cpanel.service_field.domain", true), "cpanel_domain");
        // Create domain field and attach to domain label
        $domain->attach($fields->fieldText("cpanel_domain", $this->Html->ifSet($vars->cpanel_domain, $this->Html->ifSet($vars->domain)), array('id'=>"cpanel_domain",'placeholder'=>"Please choose .com / .net domain name")));
        // Set the label as a field
        $fields->setField($domain);
        
        return $fields;
    }

 

Link to comment
Share on other sites

  • 0
11 hours ago, Blesta Addons said:

    public function getClientAddFields($package, $vars=null) {
        Loader::loadHelpers($this, array("Html"));
        
        $fields = new ModuleFields();
        
        // Create domain label
        $domain = $fields->label(Language::_("Cpanel.service_field.domain", true), "cpanel_domain");
        // Create domain field and attach to domain label
        $domain->attach($fields->fieldText("cpanel_domain", $this->Html->ifSet($vars->cpanel_domain, $this->Html->ifSet($vars->domain)), array('id'=>"cpanel_domain")));
        // Set the label as a field
        $fields->setField($domain);
        
        return $fields;
    }

 

replace by


    public function getClientAddFields($package, $vars=null) {
        Loader::loadHelpers($this, array("Html"));
        
        $fields = new ModuleFields();
        
        // Create domain label
        $domain = $fields->label(Language::_("Cpanel.service_field.domain", true), "cpanel_domain");
        // Create domain field and attach to domain label
        $domain->attach($fields->fieldText("cpanel_domain", $this->Html->ifSet($vars->cpanel_domain, $this->Html->ifSet($vars->domain)), array('id'=>"cpanel_domain",'placeholder'=>"Please choose .com / .net domain name")));
        // Set the label as a field
        $fields->setField($domain);
        
        return $fields;
    }

 

 

 

Hello, Thanks for your reply !

i think that is the best solution, i tried now, but i don't know why this not work

here is a screenshot :

 

 

20-11-2016 11-28-19.png

20-11-2016 11-30-16.png

Link to comment
Share on other sites

  • 0
32 minutes ago, Licensecart said:

Please use your brain! The only username and password fields you have on that page are under "REGISTER or LOGIN" Nothing related to a module.

 

The cPanel module loads up this:

cpanel.png

 

Oh Thanks for this clarification, so how should i do to enable this option ( configurable options ) as showing on your screenshot.

i need to install a registrar domain name module ?

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...