Closed MonsterITServices closed 6 years ago
Yes, this is possible, but there is no configuration panel yet. You can do this in the database, changing the sort order. This change will be visible everywhere in the field of the phone and in the country field.
UPDATE `u_yf_countries` SET `sortorderid` = '0' WHERE `name` = 'United States';
Is there a way i can add the countries table as a picklist field on Opportunities Module?
@alextovey try here too
... is it possible to change the default to United Kingdom instead?
Is the method described above still the way to change default prefix or is there some config option in the meanwhile (this ticket is from 2017)?
Thanks!
I am on v5.3 and this seems to still be the only method of changing the default. It seems to work on country fields but my default phone prefix has not changed. I have set sortorderid for Australia to 0 but US still defaults as the phone number field as you can see. Is there anything else that's needed to achieve this?
I am on v5.3 and this seems to still be the only method of changing the default. It seems to work on country fields but my default phone prefix has not changed. I have set sortorderid for Australia to 0 but US still defaults as the phone number field as you can see. Is there anything else that's needed to achieve this?
Strange, it worked for me. Can you send a screenshot of your database table with the sortorder?
it depends on language
Heres a screenshot of db table
I also created an en-AU language but still get the US default on phone numbers;
@js325
OK and which language is set in your personal profile? If en-US then try switching to en-AU and see if the behavior changes. From your screenshot I can only see that (the system wide?) setting ist still en-US.
Good pickup! That worked. It still needed to be changed under user preference. Thanks heaps.
Hi,
Running 4.2.514. All phone numbers are defaulted to Afganastan, is it possible to change the default to United Kingdom instead?