Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Country list in CMS_Country Table View modes: 
User avatar
Member
Member
john.banning-springbox - 10/1/2010 9:51:32 AM
   
Country list in CMS_Country Table
Is there any specific reason that Serbia is not listed in the Country table? Am I missing something?

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 10/13/2010 4:32:50 PM
   
RE:Country list in CMS_Country Table
Hello,

You are right. Please kindly note that it is missing because we were using some old/imperfect country list, where this country is missing. Regrettably, there might be also other issues with country names and their changes (Holy See should be rather Vatican (Holy See), Zaire has been renamed to Democratic Republic of Congo etc.). Please change it manually in your CMS_Country table, since it won't be included to any hotfix due to backward compatibility reasons.

However, it will be changed to version 6.0. We will improve it according to following country list: http://www.internetworldstats.com/list2.htm.

I'm sorry for any inconveniences.

Best regards
Ondrej Vasil

User avatar
Member
Member
garvard-gmail - 10/14/2010 8:37:51 AM
   
RE:Country list in CMS_Country Table
Is there any way I can modify the country list.?
I do not need so many countries in my form.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 10/18/2010 9:25:46 AM
   
RE:Country list in CMS_Country Table
Hello,

The easiest way is going to Site Manager -> Development -> Countries -> New country.

You can manage all countries here easily.

Best regards
Ondrej Vasil

User avatar
Member
Member
Webcoda - 1/30/2011 11:37:55 PM
   
RE:Country list in CMS_Country Table
Hi,

Is there any reason why you do not provide cusomisation options for Countries table.
We would like to add extra fields e.g. DisplayCity because some country addresses (Australia for example) does not need this field.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 2/7/2011 9:06:36 AM
   
RE:Country list in CMS_Country Table
Hello,

Well, you can customize CMS_Country table as per your needs.

You will need to set it to be a system table (set ClassShowAsSystemTable option to true in CMS_Class table), which will allow you to add appropriate field as you want to in Site Manager -> Development -> System tables.

Afterwards, you will need to manage this newly created field in ~\CMSSiteManager\Development\Countries\Country_Edit_General.aspx and its code-behind. You can use GetValue/SetValue methods on the Country Info to obtain and save field value.

Particular implementation is up to you. Hope this sheds some light.

Best regards
Ondrej Vasil

User avatar
Member
Member
m.rutter - 8/31/2011 7:39:21 AM
   
RE:Country list in CMS_Country Table
kentico_ondrejv wrote:
However, it will be changed to version 6.0. We will improve it according to following country list: http://www.internetworldstats.com/list2.htm.


Hello Vasil, maybe your already appointed this but it would be really appreciated if in version 6.0 you'll implement a complete ISO-3316 table with Alpha-2, Alpha-3 and numerical code. This would allow a good integration with other components that uses that coding system without mapping tables.

Thank you.
Marcello


User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 9/5/2011 1:26:38 AM
   
RE:Country list in CMS_Country Table
Hello,

we'll try to focus on complete integration of the ISO-3316 codes into a version 7.0. I've forwarded it to our product manager and a responsible developer will definitely give it a go.

Best regards
Ondrej Vasil