phreerider Posted March 13, 2003 Share Posted March 13, 2003 I'm wondering how can I change the width size of country list option box in create_details.php?? Link to comment Share on other sites More sharing options...
phreerider Posted March 14, 2003 Author Share Posted March 14, 2003 The reason why I'm looking for help on this.. check out the page @ http://ucautosport.com/create_account.php As you can see the Country options is too wide that it push out the right part of the layout. Link to comment Share on other sites More sharing options...
Ajeh Posted March 14, 2003 Share Posted March 14, 2003 Find your wide countries and shorten their names. South something another is huge so the width is huge. Link to comment Share on other sites More sharing options...
phreerider Posted March 14, 2003 Author Share Posted March 14, 2003 Yeah, I know that I should shorten the country names but I've tried a search on entire folder in catalog dir and couldn't find the list of country. Could you direct me to where about it is? Thanks :) Link to comment Share on other sites More sharing options...
Ajeh Posted March 14, 2003 Share Posted March 14, 2003 The countries names are in the countries table There are about 3-4 at least that are extreamly long. Scroll the countries dropdown to see which to edit. Link to comment Share on other sites More sharing options...
phreerider Posted March 14, 2003 Author Share Posted March 14, 2003 The thing is that it gets list of countries from somewhere else?? in the countries table looks like this: <tr> <td class="main"> <?php echo ENTRY_COUNTRY; ?></td> <td class="main"> <?php if ($is_read_only == true) { echo tep_get_country_name($account['entry_country_id']); } elseif ($error == true) { if ($entry_country_error == true) { echo tep_get_country_list('country') . ' ' . ENTRY_COUNTRY_ERROR; } else { echo tep_get_country_name($country) . tep_draw_hidden_field('country'); } } else { echo tep_get_country_list('country', $account['entry_country_id']) . ' ' . ENTRY_COUNTRY_TEXT; } ?></td> </tr> Link to comment Share on other sites More sharing options...
Ajeh Posted March 14, 2003 Share Posted March 14, 2003 Peek in /includes/functions/general.php and find function tep_get_countries_name function tep_get_countries function tep_get_countries_name calls function tep_get_countries which does a lookup in the countries table to get the names. So ... edit the countries table to shorten the countries_name do not mess up the other fields as they are codes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.