- Posts: 51
- Thank you received: 0
I want first_name field is empty
- Franco
- Topic Author
- Offline
- Senior Member
Less
More
8 years 11 months ago #62448
by Franco
I want first_name field is empty was created by Franco
Hello
I have a question about the field first_name.
At first time that user fills the form, the field first_name is already filled with the name of community builder.
I dont like that couse I want keep distinguish membership and user CB, and also it can make some confusion to the user.
Can I disabled that? I wuold like that the field first_name is empty same others.
Thanks
FRank
I have a question about the field first_name.
At first time that user fills the form, the field first_name is already filled with the name of community builder.
I dont like that couse I want keep distinguish membership and user CB, and also it can make some confusion to the user.
Can I disabled that? I wuold like that the field first_name is empty same others.
Thanks
FRank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
8 years 11 months ago #62452
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic I want first_name field is empty
Hi Frank
Need to edit code. Please submit a support ticket sending us super admin account of your site so that we can do it for you
Tuan
Need to edit code. Please submit a support ticket sending us super admin account of your site so that we can do it for you
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 0
8 years 11 months ago #62467
by Franco
Replied by Franco on topic I want first_name field is empty
I have to do that for 3 mi web site
Can I give you just one access and then you explain me how to do for other site??
Thanks
FRank
Can I give you just one access and then you explain me how to do for other site??
Thanks
FRank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
8 years 11 months ago #62472
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic I want first_name field is empty
If all the three websites use the same version, then you just need to get the file components/com_osmembership/views/register/view.html.php from one site. zip it, attach it to this forum thread. I will look at it, modify , then send you the modified file
Maybe wait until next week as we are going to release next version of membership pro sometime next week, and don't want you to have to redo the change again
Tuan
Maybe wait until next week as we are going to release next version of membership pro sometime next week, and don't want you to have to redo the change again
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 0
8 years 11 months ago #62476
by Franco
Replied by Franco on topic I want first_name field is empty
Hello tuan
We weould like to start with subscription as soon as, so I prefer to be ready.
I attach the file as you asked
BUt with new next release of membership pro I can use the same file modified by you??
Thanks
FRank
We weould like to start with subscription as soon as, so I prefer to be ready.
I attach the file as you asked
BUt with new next release of membership pro I can use the same file modified by you??
Thanks
FRank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
8 years 11 months ago #62495
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic I want first_name field is empty
Hi Frank
You can get the modified file here, upload it to your site and it should work as expected. If you look at the file, you will see that I added a line of code in line 246:
You will need to re-do this modification each time you update to new version of the extension
Tuan
You can get the modified file here, upload it to your site and it should work as expected. If you look at the file, you will see that I added a line of code in line 246:
Code:
$data['first_name'] = '';
You will need to re-do this modification each time you update to new version of the extension
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 0
8 years 11 months ago #62527
by Franco
Replied by Franco on topic I want first_name field is empty
Hello Tuan
I try your file, but in that way it erases always the fild first_name also for user that has already an account for subscription.
So I see that file, there is a section with the name "Load the name from Joomla default name" at line 229
Pratically Can I delete this part of code to not load the default name from joomla?
It is exactly what i need, it cuold couse any problem to membershi pro??77
Thanks
Frank
I try your file, but in that way it erases always the fild first_name also for user that has already an account for subscription.
So I see that file, there is a section with the name "Load the name from Joomla default name" at line 229
Pratically Can I delete this part of code to not load the default name from joomla?
It is exactly what i need, it cuold couse any problem to membershi pro??77
Thanks
Frank
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
8 years 11 months ago #62534
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic I want first_name field is empty
Hi Frank
Yes, that's correct (I mis-understood your requirement before), It won't cause any problem with Membership Pro
Tuan
Yes, that's correct (I mis-understood your requirement before), It won't cause any problem with Membership Pro
Tuan
Please Log in or Create an account to join the conversation.
- Franco
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 0
8 years 11 months ago - 8 years 11 months ago #62541
by Franco
Replied by Franco on topic I want first_name field is empty
JUst to be sure
Can i delete from line 227 to 245 in that file??
Thanks
FRank
Can i delete from line 227 to 245 in that file??
Thanks
FRank
Last edit: 8 years 11 months ago by Franco.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
8 years 11 months ago #62547
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic I want first_name field is empty
Yes. I can confirm that.
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.