Page 1 of 1

my country in the registration and search form

Posted: Wed May 11, 2011 8:24 am
by nojaroff
Hi,
How can I add the name of my country in the registration and search form, and also that it be default.
Thanks

Re: my country in the registration and search form

Posted: Mon May 16, 2011 12:02 am
by ABKExpert
Hi,

You can use mod "First countries":
http://abkshop.com/index.php?module=pro ... show&id=88

Re: my country in the registration and search form

Posted: Thu Dec 15, 2011 8:24 am
by AUFC
Is there any other way to have countries instead of paying another $97? I mean should countries be not an SOP for registration and should be there?

Re: my country in the registration and search form

Posted: Fri Aug 03, 2012 11:48 am
by gavind
Hi buddy. Got any luck on finding the answer to this?

Re: my country in the registration and search form

Posted: Tue Dec 31, 2013 3:30 am
by gbuccheri
Hi All,

To make a country the default go into: _include\current edit the two files "common.php" and "common.class.php"



common.class.php
$firstCountries = array(196, 197, 34); change country code number (Get country number from table in MYSql DB) to your country number.

common.php
'country_options' => Common::listCountries(get_param('country', 196)),
'orientation_options' => DB::db_options("SELECT id, title FROM const_orientation", get_param("orientation", "")),

Hope this helps