By Olivier FRASCONE on Tuesday, 02 December 2014
Replies 5
Likes 0
Views 1K
Votes 0
Hi,
we use on registration process the field "Select Language" with option "Required" defined on "Yes".
But the default option when registration is : "use Default Language".
It's not very logical, because this field is very important for us to define if the user is NL or FR.
If the user who register let the option "use Default Language" we can know witch language have the user.
How can i manage this field to have the choice between only the two main language of my site (FR & NL) ?
Regards,
Olivier
Hello Olivier FRASCONE,

I believed that you mistaken that "select language" custom field functionality, what it task is for allow the user select the language to use throughout the site after their login.

Based on your explanation, you have to built multi-lingual in your site so that user can select which language to prefer to do the registration in your site. Hope this help.
·
Tuesday, 02 December 2014 01:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, i don't forget this functionality and this is the problem :
The field is mandatory, if i register i see four option :

Like you see, the first option is "Use default site language", so it's already a choice, if the user let the field like this he can register.
I want the user choose a language mandatory, like this i can found its language in Administrator. Otherwise i just can see "Use default site language" and i can't know which language he use...
Regards,
Olivier
·
Tuesday, 02 December 2014 01:31
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Olivier FRASCONE,

Thanks for take your time to do the explanation again.
You can remove the "default site language" option in this file -> JoomlaFolder\media\com_easysocial\apps\fields\user\joomla_language\themes\default\content.php

REMOVE LINE 16
<option value=""<?php echo !$value ? ' selected="selected"' : '';?>><?php echo JText::_( 'PLG_FIELDS_USER_JOOMLA_LANGUAGE_USE_DEFAULT' ); ?></option>

So that user only have 2 language option can select -> FR & NL
Hope this help.
·
Tuesday, 02 December 2014 18:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
this is a begin of the solution, but if i remove the line it take by default the first language available.
So if the user let the field like this, the system will validat ethe registration, it's not logical because the user need to fill the language he want to use on the site (most member want the registration go quickly and look only the mandatory field.
What i would like (i think it needs to be a default feature).
Language field is mandatory.
First line of the dropdown : please choose you language (this option is not considered like a choice)
Second : first language.
Third : second language.
If the user don't choose a language : error : field needed.
It's more logical no ?
Regards,
Olivier
·
Tuesday, 02 December 2014 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Olivier FRASCONE,

Sorry for late reply to this,

Regarding this language field, we do not have this functionality in current system.

By the way, we will remove the "require" from this language field because it doesn't apply here.

But you can always request this feature from our voice page http://stackideas.com/voices/easysocial
·
Wednesday, 03 December 2014 13:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post