Hi...
How can i create the link icon on the top column ?
http://www.oscommerce.com/shops/goto,2265
(A GOOD EXAMPLE OF what i have in mind)
Is there any reference guide u can refer me to...thanks
This is a discussion on Changing the layout..hELP Needed!! within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi... How can i create the link icon on the top column ? http://www.oscommerce.com/shops/goto,2265 (A GOOD EXAMPLE OF what i ...
Hi...
How can i create the link icon on the top column ?
http://www.oscommerce.com/shops/goto,2265
(A GOOD EXAMPLE OF what i have in mind)
Is there any reference guide u can refer me to...thanks
Do you mean, "how do i create links in the header?"
If this is the case, open /catalog/templates/main_page.tpl.php and from line 25-29 you will see something similar to this:
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td width="750"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'OSCMAX_top.jpg', OSC-MAX, OS Commerce taken to the MAX!) . '</a>'; ?></td>
</tr>
</table>
This is the table for the header image, add a second column or more rows or whatever you want and insert your links, icons, images or whatever.
If on the other hand you want to do exactly as the example, you create a 2 row table layout webpage, in php of course, and pull the URL of the site you want to display into an IFRAME, which is whats being done in the example.
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Bookmarks