I’ve googled for a solution for my problem and found your web site, so I’m wondering if you can help me. It’s about Oscommerce of course:) I’m trying to move language icons (not the full ‘languages box’) to header but so far no succes. I’ve managed to move the whole box with frame and background and so on, but I can’t strip it down to images of flags only (like you did in this example: http://www.clubosc.com/wp-content/uploads/2008/04/idea3.gif ).
Jan – it’s pretty straightforward. Assuming that you are starting from a stock languages box, all you need to do is find this code:
[php]new infoBoxHeading($info_box_contents, false, false);[/php]
and add two slashes in front of it (so php does not parse it), like so:
[php]// new infoBoxHeading($info_box_contents, false, false);[/php]
Then scroll down and find this code:
[php]$info_box_contents = array();
$info_box_contents = array(‘align’ => ‘center’,
‘text’ => $languages_string);
and change that to:
Now you should be able to see only the language icons and not the surrounding infoBox. You can now move these anywhere you want as part of your design.
I actually cover this in more depth in one of my eBooks, called “Designing osCommerce” (there is a sample chapter freely available by download). At this moment I have an excellent special offer available, see here.
Does that help? Cheers, Gary