Adding new flags?

Hello All,

I inactivated the country drop down list box and added a drop down list box consisting of Canadian province.

Question: how do I associate a provincial flag to each province like the flags associated with the country?

Running newest Dolphin and I have the images read to go.

any help you can give me would be greatly appreciated.

thank

Quote · 19 Aug 2009

Hello!

 

It depends from palce where you want to see this falgs. But need to modifiy code of showing this field. Here is example how proceddure looks like in browse.php:

 

 $country_options = makeList( 'country', '' , 'Country', ( $country_sel ? $country_sel : 'all' ), 'onchange="javascript: flagImage = document.getElementById(\'flagImageId\'); if (this.value == \'all\') {flagImage.src = \''. $site['images'] .'spacer.gif\';} else {flagImage.src = \''. $site['flags'] .'\' + this.value.toLowerCase() + \'.gif\';}"' );

Regards, Kane

Quote · 19 Aug 2009

I should have been more clear..

I like to add the flag in the profile page so when someone views someone elses profile they see which provice the user is from.

Quote · 22 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.