Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Desperately needing help with logo


Guest

Recommended Posts

Hi everyone,

 

I hope someone can help me as I have been at this soli for 2 days now and getting no where.

I changed the look of my site last night. I was mucking around with the catalog/includes/header.php file and I think I have removed code which I shouldn't have.

 

This is my site: www.tearbears.com.au/catalog

 

This is the code:

 

}
if ( CENTER_SHOP_ON=='1' ) {
$shopWidth = CENTER_SHOP_WIDTH; //offset
} else {
$shopWidth = CENTER_SHOP_WIDTH;
}
if (CENTER_SHOP_ALIGN !=center){ //stops the tag from adding in additional lines
?>
<br clear="<?=CENTER_SHOP_ALIGN?>">
<?
}
?>
<table border="0" width=<?=$shopWidth?> align="<?=CENTER_SHOP_WIDTH?>" cellspacing="0" cellpadding="0">
<?php
// Defined image and link from center_shop.php
?> 
<table border="0" width=<?=$shopWidth?> align="<?=CENTER_SHOP_WIDTH?>" cellspacing="0" cellpadding="0">
<tr class="header">
<?php
if (HEADER_IMG_LINK_ON=='1') {
?>
<td valign="middle"><?php echo '<a href="' . HEADER_IMG_LINK . '">' . tep_image(DIR_WS_IMAGES . HEADER_IMG_PIC, HEADER_IMG_ALT) . '</a><BR>'; ?></td>
<?php
} else {
?>
<td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . HEADER_IMG_PIC, HEADER_IMG_ALT) . '<BR>'; ?></td>
<?php
}
?>


<table border="1" width="<?=$shopWidth?>" align="<?=CENTER_SHOP_WIDTH?>" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>
<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
</tr>
</table>
<?php
if ($HTTP_GET_VARS['error_message'] != '') {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo urldecode($HTTP_GET_VARS['error_message']); ?></td>
</tr>
</table>
<?php

}

if ($HTTP_GET_VARS['info_message'] != '') {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo $HTTP_GET_VARS['info_message']; ?></td>
</tr>
</table>

<?php
}
?>

 

Can anyone see what is missing? If so please post the correct code, im going crazy now as I cannot work it out!!

Thanks heaps

Link to comment
Share on other sites

The "logo.gif" image doesn't actually display right... have you tried re-uploading / recreating it?

 

I can't see anything wrong with the code, just looks like a corrupt image to me.

 

If you view the image itself (so removing the code from the equation), it still displays wrong... http://www.tearbears.com.au/catalog/images/logo.gif

 

Hope that helps.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Link to comment
Share on other sites

If you use FTP to transfer files to the site, be sure you FTP images in BINARY mode, as opposed to TEXT or ASCII mode for PHP and other "man readable" files.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thank you so much guys!! I have spent days trying to work out if it is the image or the code. A friend who knows photoshop better than me was sure it was NOT the image. She ended up convincing me it was the code, thats why I ended up posting for help!

 

I will try and work out the image. Im sure my ftp is NOT uploading in BINARY. So will change that first.

 

THANKYOU!!! :)

Link to comment
Share on other sites

BINGO!!! I set it to BINARY and it worked! Why did I wait 2 days to ask?????

 

I APPRECIATE your help sooooo much. THANKS again guys :)

Link to comment
Share on other sites

That's what we're here for :D

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...