Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Main Shop Logo


Redefine

Recommended Posts

Posted

I have replaced the main OsCommerce logo with my own but obviously some parameter keeps the sizes - therefore the larger logo I have uploaded is stretched horribly - can someone tell me which file I edit the settings for this logo?

 

thanks

Posted

Look for something like this code near the top of include/header.php

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

Just change the mybusiness stuff below between the single quotes

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'mybusiness.gif', 'Mybusiness name or ALT text') . '</a>'; ?>

 

This will give a clickable image to return you to the main catalog page. It contains no image size info therefore displaying the image as its original size.

Posted

when i installed simple template system STS. my previous defined logo changed back to oscommerce.. while in inclues/header.php. I still keep my own defined logo

 

And it seesm that STS uses the variable "$cataloglogo" to control logo setting..

How and where do i change this $cataloglogo?

thanks.

Posted

never mind.....I found out where to change the setting.

for thoese who might be interested..just look in the sts_display_output.php where they define all urls......so just change the url that links to your own logo image.

 

e.g

$template['cataloglogo'] = '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . yourlogo.gif, 'yourbizname') . '</a>';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...