elbadr Posted November 16, 2016 Report Posted November 16, 2016 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 ! Quote
0 elbadr Posted November 18, 2016 Author Report Posted November 18, 2016 Hello, there is any news about my question ? Thanks ! Quote
0 Blesta Addons Posted November 18, 2016 Report Posted November 18, 2016 you need to edit the module , which module you use ? Quote
0 Paul Posted November 18, 2016 Report Posted November 18, 2016 What module is this? If you're using a domain registrar module, you should do the following: Create a Package Group specifically for domains. Call it "Domains", if you want. Create your Domain Registration packages, one for each TLD (is possible, though each price point is ok), add them to the above group. 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. Quote
0 evolvewh Posted November 18, 2016 Report Posted November 18, 2016 My guess is that it's the Universal Module with a configurable option for the domain field. Quote
0 elbadr Posted November 19, 2016 Author Report Posted November 19, 2016 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 ! Quote
0 elbadr Posted November 19, 2016 Author Report Posted November 19, 2016 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 ! Quote
0 evolvewh Posted November 19, 2016 Report Posted November 19, 2016 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. Quote
0 elbadr Posted November 19, 2016 Author Report Posted November 19, 2016 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 : Quote
0 evolvewh Posted November 19, 2016 Report Posted November 19, 2016 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? Quote
0 elbadr Posted November 19, 2016 Author Report Posted November 19, 2016 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 Quote
0 evolvewh Posted November 19, 2016 Report Posted November 19, 2016 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. Michael 1 Quote
0 Blesta Addons Posted November 20, 2016 Report Posted November 20, 2016 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; } Michael and JNdev 2 Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 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 : Quote
0 Blesta Addons Posted November 20, 2016 Report Posted November 20, 2016 are you sur using cpanel module ? elbadr and evolvewh 2 Quote
0 evolvewh Posted November 20, 2016 Report Posted November 20, 2016 1 hour ago, Blesta Addons said: are you sur using cpanel module ? I wondered this too because the domain, username and password fields should be on this screen if he was using the cPanel module. elbadr and Michael 2 Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 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. in manage case i have my WHM Reseller informations Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 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. ) Quote
0 Michael Posted November 20, 2016 Report Posted November 20, 2016 10 minutes ago, elbadr said: Yes Sure, i have on this page ( domain, username and password fields. ) 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: elbadr 1 Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 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: 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 ? Quote
0 evolvewh Posted November 20, 2016 Report Posted November 20, 2016 24 minutes ago, elbadr said: Yes Sure, i have on this page ( domain, username and password fields. ) When you're logged in as admin and you go to Packages -->> Browse and open up this package, which module did you choose? elbadr 1 Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 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? i have chosen cPanel module Quote
0 Michael Posted November 20, 2016 Report Posted November 20, 2016 Sounds like you have an error then, go to tools > logs and click cPanel row. what are the boxes? Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 22 minutes ago, Licensecart said: Sounds like you have an error then, go to tools > logs and click cPanel row. what are the boxes? Quote
0 evolvewh Posted November 20, 2016 Report Posted November 20, 2016 You need to click on any row to expand them and see if there are any error messages within. elbadr and Michael 2 Quote
0 elbadr Posted November 20, 2016 Author Report Posted November 20, 2016 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 ! Quote
Question
elbadr
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 !
26 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.