Name fields asked during registration

  • Posts: 151
  • Thank you received: 9
12 years 4 months ago #59772

Hi,

Please see the attached image. Whe a user registers, he/she is asked several times for a name.

1. Name
2. Username
3. First name
4. Last name

First name and last name (3 & 4) with the address is okay.
Username (2) is also okay.

Buy why is Name (1) asked? Where can I remove this?

Thank you,
Maurice


Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
12 years 4 months ago #59860

The name at the top is the name of the user.
The first/last name in the address area is for the address.
They might not always be the same.

You can remove the code

<tr class="hikashop_registration_name_line">
		<td class="key">
			<label id="namemsg" for="register_name">
				<?php echo JText::_( 'HIKA_USER_NAME' ); ?>
			</label>
		</td>
			<td>
				<input type="text" name="data[register][name]" id="register_name" value="<?php echo $this->escape($this->mainUser->get( 'name' ));?>" class="inputbox required" maxlength="50" /> *
			</td>
	</tr>
from the file "registration" of the view "user" via the menu Display->Views if you want to remove the first name field. It will be filled automatically with the address first/last name.

The following user(s) said Thank You: Maurice, SG

Please Log in or Create an account to join the conversation.

  • Posts: 151
  • Thank you received: 9
12 years 4 months ago #59985

That was it. Thanks!!! :)

Please Log in or Create an account to join the conversation.

  • Posts: 184
  • Thank you received: 4
12 years 4 months ago #60079

Great!

it works perfectly!!!

Please Log in or Create an account to join the conversation.

  • Posts: 101
  • Thank you received: 12
11 years 8 months ago #101325

Exactly what I needed!
Thanks!!!

Please Log in or Create an account to join the conversation.

  • Posts: 140
  • Thank you received: 0
10 years 6 months ago #159335

In what file is this?

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
10 years 6 months ago #159487

As this post is 1 year old you should probably not have to do this except if you are using the same version for 1 year without updating.

In this cas, as Xavier said, the file is:

from the file "registration" of the view "user" via the menu Display->Views if you want to remove the first name field. It will be filled automatically with the address first/last name.


But I would suggest to update to the latest version, it's a safer option.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum