nojaroff
Posts: 3
Joined: Wed May 11, 2011 6:22 am

my country in the registration and search form

Wed May 11, 2011 8:24 am

Hi,
How can I add the name of my country in the registration and search form, and also that it be default.
Thanks


AUFC
Posts: 3
Joined: Mon Nov 28, 2011 2:17 pm

Re: my country in the registration and search form

Thu Dec 15, 2011 8:24 am

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?

User avatar
gavind
Posts: 56
Joined: Fri Jul 13, 2012 2:46 pm

Re: my country in the registration and search form

Fri Aug 03, 2012 11:48 am

Hi buddy. Got any luck on finding the answer to this?

gbuccheri
Posts: 1
Joined: Mon Dec 30, 2013 7:40 am

Re: my country in the registration and search form

Tue Dec 31, 2013 3:30 am

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

Return to “Chameleon General Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests