EnigmaBiz Posted October 28, 2002 Share Posted October 28, 2002 Remove Language Option on Front Page (German and Spanish) I have searched and checked front page option and where do you go/what file to edit and remove the Language option. I only want English and I removed the directories from /local/languages and left /eng only. But there is no need for the front page to display the "flag" once there is only one/English default. Do I have to edit the /en/default.php page and remove it from there or is it in mySQL database settings? Link to comment Share on other sites More sharing options...
Ajeh Posted October 28, 2002 Share Posted October 28, 2002 Edit /catalog/includes/column_right.php if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } Change to: if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { // include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } This leaves you the option to later add it back in easily. Link to comment Share on other sites More sharing options...
Guest Posted October 30, 2002 Share Posted October 30, 2002 Hey Linda,(or someone) What about the same for currencies - I mean, I did this for languages and it is beaut! I'd like the code for not showing languages as well!!! :D :D :D :D :D :D Link to comment Share on other sites More sharing options...
Ajeh Posted October 30, 2002 Share Posted October 30, 2002 Just beneath that change is the currencies ... comment it out and it is gone too :shock: Link to comment Share on other sites More sharing options...
Guest Posted October 30, 2002 Share Posted October 30, 2002 Thx Linda, I get it - its the "//". That worked great. Can I use these "//" to remove "New products" box under the body text?? Don't need to use it just yet!!! Ken :roll: Link to comment Share on other sites More sharing options...
Ajeh Posted October 30, 2002 Share Posted October 30, 2002 It's very similar. In default.php: <tr> <td><br><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.