PDA

View Full Version : Country Selection. Place "Mexico" before Afghanistan etc...



Matteo marco Giani
September 19, 2012, 12:12 AM
Good Evening.

I need some help with a modification on the MySQL Database.

In the Country Field, when someone add a new listing its necessary to select the country.

I want to place Mexico before the countries beginning with A ( Es. Mexico->Afghanistan->Andorra->Algeria->.....)


So it should be the first one to be selected.

How can i make this modification on the database?

Thanks

Chris Brown
September 19, 2012, 04:19 AM
Another way you could always go in your admin panel and go to data entries and choose to edit the mexico country and set this to default so it auto fills the field in with mexico when someone creates a new listing

Vladimir
September 19, 2012, 04:37 AM
You can also try to solve this problem the following way:

1. You need to change the type of sorting for list countries in Admin panel -> Data Entries -> Countries -> Edit.
2. Then you set up a position for each country in the database manually (table data_formats).

Nguyen Dat tai
June 8, 2013, 04:04 PM
Thanks very much!


You can also try to solve this problem the following way:

1. You need to change the type of sorting for list countries in Admin panel -> Data Entries -> Countries -> Edit.
2. Then you set up a position for each country in the database manually (table data_formats).