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
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 !

  • 0
Posted
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 !

 

  • 0
Posted
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.

  • 0
Posted
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

  • 0
Posted
18 minutes ago, evolvewh said:

You're using a module and we need to know which one you're using. On the admin side, which module are you using to create this service?

I Am using cPanel module

  • 0
Posted
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.

  • 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
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

  • 0
Posted
2 hours ago, Blesta Addons said:

are you sur using cpanel module ?

 

Yes, i have got to Settings ( on the right at the top ) ==>> Modules ==>> Installed

and i have cPanel module.

 

20-11-2016 16-48-35.png

 

in manage case i have my WHM Reseller informations

20-11-2016 16-49-54.png

  • 0
Posted
1 hour ago, evolvewh said:

I wondered this too because the domain, username and password fields should be on this screen if he was using the cPanel module.

Yes Sure, i have on this page ( domain, username and password fields. )

20-11-2016 16-56-00.png

  • 0
Posted
10 minutes ago, elbadr said:

Yes Sure, i have on this page ( domain, username and password fields. )

20-11-2016 16-56-00.png

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

  • 0
Posted
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 ?

  • 0
Posted
19 minutes ago, evolvewh said:

When you're logged in as admin and you go to Packages -->> Browse and open up this package, which module did you choose?

Screen Shot 2016-11-20 at 10.11.20 AM.png

i have chosen cPanel module

20-11-2016 17-24-11.png

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

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