island_air Posted July 4, 2010 Report Posted July 4, 2010 Hi guys, i just created EVA VA which is located in Taiwan. Due to the perception problem, I wanna edit the name: Taiwan, Province of China into Taiwan. I tried to find out the solution but i didnt get any idea. Could anyone tell me how to do it? Thanks a lot. cheers! Quote
monkeypaw201 Posted July 4, 2010 Report Posted July 4, 2010 So I took a look for you, and found that its located in /core/common/Countries.class.php on line 72. So you have two options as I see it; 1. Edit the class file (that may get overwritten when you update) by changing 'TW' => 'Taiwan, Province Of China','TJ' => 'Tajikistan','TZ' => 'Tanzania, United Republic Of', To: 'TW' => 'Taiwan','TJ' => 'Tajikistan','TZ' => 'Tanzania, United Republic Of', 2. Copy /core/templates/registration_mainform.tpl to /lib/skins/<SKIN_YOU_ARE_USING/registration_mainform.tpl and then edit it and change as follows (will NOT get overwritten with updates) Change line 63 from: echo '<option value="'.$countryCode.'" '.$sel.'>'.$countryName.'</option>'; To: echo '<option value="'.$countryCode.'" '.$sel.'>'.str_replace("Taiwan, Province of China","Taiwan",$countryName).'</option>'; Quote
Administrators Nabeel Posted July 5, 2010 Administrators Report Posted July 5, 2010 Thanks Lorenzo! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.