Jantar Posted August 29, 2006 Posted August 29, 2006 Hi guys. I'm setting up a new store at www.svetdymek.cz and I would like the top Store logo to switch depending on the language that is chosen (i.e. to display either English or Czech logo). I know it's header.php what probably needs to be edited but I'm really new to php. Could anyone suggest any idea if it is possible somehow to edit this file in order to achieve this goal? Thanks a lot for any hint.
Gil_e_n Posted August 29, 2006 Posted August 29, 2006 I believe the best route would be to go to your header image in header.php, and look for the code for the header. Should be something like: tep_image(DIR_WS_IMAGES . 'header.gif', 'osCommerce') Change it to tep_image(DIR_WS_LANGUAGES . $language . '/' . DIR_WS_IMAGES . 'header.gif', 'osCommerce') Now save your separate headers into includes/languages/(language)/images. It should appear. Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller
Jantar Posted August 29, 2006 Author Posted August 29, 2006 Wow, that was quick:-) Thanks a lot. If you were somewhere around, I would immediately buy you a pint...:-)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.