MartyIX Posted October 31, 2013 Report Posted October 31, 2013 Hello, is it possible to setup Blesta so that a customer can register to Blesta without making an order? I ask because I would like to add a link to registration on the webpage: https://blesta.company.com/client/login/ Thank you! EDIT: I have already found how to do it. But I do not know how to delete this thread. Quote
0 Michael Posted October 31, 2013 Report Posted October 31, 2013 Glad you solved it yourself haha was about to tell you before I read the Edit. Quote
0 Michael Posted November 29, 2013 Report Posted November 29, 2013 How is this done? Packages > Order form > add new form > Type: Client Registration. Quote
0 Ken Posted November 29, 2013 Report Posted November 29, 2013 How do we force the registration form to use email for username? Quote
0 Michael Posted November 29, 2013 Report Posted November 29, 2013 How do we force the registration form to use email for username? You need to edit a template, there's a thread somewhere on forum, I looked in support and can't find it and I can't find it on Google Hopefully the user will look here I think it was Daniel. Quote
0 Ken Posted November 29, 2013 Report Posted November 29, 2013 Good enough! I found it. Thank you, sir. http://www.blesta.com/forums/index.php?/topic/1099-open-many-accounts-with-same-email/ Quote
0 Michael Posted November 29, 2013 Report Posted November 29, 2013 Good enough! I found it. Thank you, sir. http://www.blesta.com/forums/index.php?/topic/1099-open-many-accounts-with-same-email/ Glad you found it mate, I couldn't see it and that would be why wrong forum lol. Quote
0 Ken Posted November 29, 2013 Report Posted November 29, 2013 Actually I'm curious if Tyson or Cody has a slightly cleaner method. Daniel's method just removes the option to select Usernames which works perfectly but I want the radio button gone completely if possible. Is there a simple code edit that I can make to accomplish this? Quote
0 Michael Posted November 29, 2013 Report Posted November 29, 2013 Actually I'm curious if Tyson or Cody has a slightly cleaner method. Daniel's method just removes the option to select Usernames which works perfectly but I want the radio button gone completely if possible. Is there a simple code edit that I can make to accomplish this? Not tried this so not sure: remove the PHP code replace it with: <input type="hidden" value="<?php $vars->username_type, "email") == "email"), array("id"=>"username_type_email"); ?>" id="username_type" name="email"> Quote
0 Ken Posted November 29, 2013 Report Posted November 29, 2013 Not tried this so not sure: remove the PHP code replace it with: <input type="hidden" value="<?php $vars->username_type, "email") == "email"), array("id"=>"username_type_email"); ?>" id="username_type" name="email"> It just breaks it and returns a blank page. In the meantime I just did a "display: none;" in the <li> so that'll at least accomplish what I want aesthetically. Michael 1 Quote
0 Tyson Posted November 30, 2013 Report Posted November 30, 2013 CubicWebs' solution has a number of syntax errors, which is why the page failed to load. IIRC, using the email address as the username is the default behavior, so I would think you could simply remove the <li> and the radio buttons altogether, but I haven't tested this. Quote
0 Ken Posted November 30, 2013 Report Posted November 30, 2013 CubicWebs' solution has a number of syntax errors, which is why the page failed to load. IIRC, using the email address as the username is the default behavior, so I would think you could simply remove the <li> and the radio buttons altogether, but I haven't tested this. If you remove the radio buttons the username text field is displayed. If you remove it as well and submit your client registration it will give you an error saying you need to specify a username. The way I have it set now works fine. I guessing the ability to select a default (as in not letting client have the choice) is going to be a built in function in the future so what I have now is fine. Quote
Question
MartyIX
Hello,
is it possible to setup Blesta so that a customer can register to Blesta without making an order?
I ask because I would like to add a link to registration on the webpage: https://blesta.company.com/client/login/
Thank you!
EDIT: I have already found how to do it. But I do not know how to delete this thread.
12 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.