saqib21 Posted August 10, 2006 Share Posted August 10, 2006 i have english as my default language and thats the only language i have in my shop. but still on the home page it says Choose Language but as there is only 1 option (english) which is already selected so it looks a bit stupid. i want to remove the option of language selection on my website. Any suggestions? regards Sib. Link to comment Share on other sites More sharing options...
MEDIAZONE Posted August 10, 2006 Share Posted August 10, 2006 i have english as my default language and thats the only language i have in my shop. but still on the home page it says Choose Language but as there is only 1 option (english) which is already selected so it looks a bit stupid. i want to remove the option of language selection on my website. Any suggestions? regards Sib. Open Right_column.php and delete the code for the language drop down Many Thanks Simon Your Media Zone Remember to ALWAYS BACKUP Life is like box of chocs - You never know what your gonna get! Do you feel lucky punk? Well do ya! P-A-R-T WHY COS I GOTTA! Link to comment Share on other sites More sharing options...
saqib21 Posted August 10, 2006 Author Share Posted August 10, 2006 Open Right_column.php and delete the code for the language drop down I have the following code. can you please help with which code exactly needs to be removed? // set the language if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { if (!tep_session_is_registered('language')) { tep_session_register('language'); tep_session_register('languages_id'); } include(DIR_WS_CLASSES . 'language.php'); $lng = new language(); if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } $language = $lng->language['directory']; $languages_id = $lng->language['id']; } // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); Link to comment Share on other sites More sharing options...
MEDIAZONE Posted August 10, 2006 Share Posted August 10, 2006 I have the following code. can you please help with which code exactly needs to be removed? // set the language if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { if (!tep_session_is_registered('language')) { tep_session_register('language'); tep_session_register('languages_id'); } include(DIR_WS_CLASSES . 'language.php'); $lng = new language(); if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } $language = $lng->language['directory']; $languages_id = $lng->language['id']; } // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); Hi You want to find this code in column_right.php include(DIR_WS_BOXES . 'languages.php'); and delete it this will remove the langauge option Many Thanks Simon Your Media Zone Remember to ALWAYS BACKUP Life is like box of chocs - You never know what your gonna get! Do you feel lucky punk? Well do ya! P-A-R-T WHY COS I GOTTA! Link to comment Share on other sites More sharing options...
saqib21 Posted August 10, 2006 Author Share Posted August 10, 2006 Hi You want to find this code in column_right.php and delete it this will remove the langauge option i just did and uploaded new file but still index file is same. am i missing something ? like after changing the page do i need to updateany setting or reinstall anything? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.