jwen Posted October 19, 2005 Share Posted October 19, 2005 Hiya! I am trying to set default country from the country list when new members create account, but no luck. Any one know how to do that please help! Thanks a lot! Regards, jay Link to comment Share on other sites More sharing options...
jasper98 Posted October 19, 2005 Share Posted October 19, 2005 You just want that country to appear first in the drop down list? So when a customer is creating an account that country is already selected? Link to comment Share on other sites More sharing options...
jasper98 Posted October 19, 2005 Share Posted October 19, 2005 If that's the case all you need to do is edit includes/functions/html_output.php replace: $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); with: $countries_array = array(array('id' => '223', 'text' => 'United States')); "223" is the United States countries_id just replace that with your own countries_id, and replace "United States" with your country. Link to comment Share on other sites More sharing options...
jwen Posted October 19, 2005 Author Share Posted October 19, 2005 Thanks Steve!That helps a lot! Everytime a small problem just because cant find the specified code/file. Just wondering is there such an article describes the relationship between the frontpage and code. If yes that would be great! Link to comment Share on other sites More sharing options...
jasper98 Posted October 20, 2005 Share Posted October 20, 2005 Not sure what you're asking. You can't find html_output.php? You can't find the code within html_output.php? Or are you having trouble finding your country_id? Link to comment Share on other sites More sharing options...
jwen Posted October 21, 2005 Author Share Posted October 21, 2005 Not sure what you're asking. You can't find html_output.php? You can't find the code within html_output.php? Or are you having trouble finding your country_id? You have solved my problem, thanks! Sorry to make it confuse. Everytime a small problem just because cant find the specified code/file. Just wondering is there such an article describes the relationship between the frontpage and code. If yes that would be great! I just wanna know if there is some posts specified contents/items we can see from our store frontpage and the relative code/file to edit. Then when a problem comes out, say footer copyright display wrong, and we know which file it relates to(i.e includes/languages/english.php). But never mind, I can find almost any specified supports from the forum. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.