Jump to content
  • 0

put a note under domain name registration case


Question

Posted

Hello Everyone,

it's possible to put a note under domain name registration case ?

For exemple ( Please choose .com / .net domain name )

Clarification image in attachment.

 

Thanks !

 

16-11-2016 15-11-07.png

Recommended Posts

  • 0
Posted

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.

  • 0
Posted
  On 11/18/2016 at 4:32 PM, Paul said:

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

Expand  

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 !

  • 0
Posted
  On 11/18/2016 at 4:49 PM, evolvewh said:

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

Expand  

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 !

 

  • 0
Posted
  On 11/19/2016 at 2:21 PM, 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 !

 

Expand  

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

  • 0
Posted
  On 11/19/2016 at 2:26 PM, 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.

Expand  

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

  • 0
Posted
  On 11/19/2016 at 3:28 PM, elbadr said:

I Am using cPanel module

Expand  

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.

  • 0
Posted

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;
    }

 

  • 0
Posted
  On 11/20/2016 at 12:07 AM, 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;
    }
Expand  

 

 

 

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

  • 0
Posted
  On 11/20/2016 at 4:46 PM, 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

Expand  

 

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 ?

  • 0
Posted

Thank you guys for the big help, i have put the message ( please choose .com / .net domain name ) in the package description.

I will look into that later.

 

Thanks again !

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.

×
×
  • Create New...