here is the task i am supposed to do:
How do I replace the Netfirms Commerce Pro logo with my own company logo?
To replace the Netfirms Commerce Pro logo with your own company logo, please follow the instructions below:
- Using an FTP client (eg. Filezilla) download the ../catalog/includes/header.php file
- Using a text editor (eg. Notepad) edit the header.php file as follows:
In the existing code:
<?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'OSCommerce'); ?>
(a)Replace 'oscommerce.gif' with yourlogo.gif (where yourlogo.gif is the name of your image file (for your company logo))
(b)Replace 'OSCommerce' with the name of your company
(c)Using your FTP client upload the revised header.php file back to the server to ../catalog/includes/
- Using an FTP client upload yourlogo.gif (the filename for your company's logo) to the images folder ../catalog/images/
i uploaded the .gif and changed the coding. here is the file header.php:
<?php
/*
$Id: header.php,v 1.19 2002/04/13 16:11:52 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
if ($messageStack->size > 0) {
echo $messageStack->output();
}
?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><?php echo tep_image(DIR_WS_IMAGES . 'irishimports.gif', 'Irish Imports', '185', '117'); ?></td>
<td align="right"><?php echo '<a href="http://www.anirishtouch.com" target="_blank">' . tep_image(DIR_WS_IMAGES . 'header_support.gif', HEADER_TITLE_SUPPORT_SITE, '50', '50') . '</a> <a href="' . tep_catalog_href_link() . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_ONLINE_CATALOG, '53', '50') . '</a> <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_administration.gif', HEADER_TITLE_ADMINISTRATION, '50', '50') . '</a>'; ?> </td>
</tr>
<tr class="headerBar">
<td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; ?></td>
<td class="headerBarContent" align="right"><?php echo '<a href="http://www.anirishtouch.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a> | <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>'; ?> </td>
</tr>
</table>
Thanks in advance for the help,
Irish