osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Logo and Banner not recognized

This is a discussion on Logo and Banner not recognized within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I have a strange problem. I am using the aabox download (very nice, thanks). I have replaced in header.php ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-15-2003, 06:25 AM
New Member
 
Join Date: Aug 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
disciple
Default Logo and Banner not recognized

Hi,

I have a strange problem. I am using the aabox download (very nice, thanks). I have replaced in header.php the oscommerce.gif with my own logo.gif but when viewing the file the oscommerce.gif is still the one that shows. Yet, if I rename my logo.gif to oscommerce.gif then it works. I realize that this is the simple fix but I want to know why something is not working when it should.

Secondly, I deleted out the code in footer.php for the osc banner and the same thing it still shows!!

How can this happen. I am so confused!

Thanks in advance for your help.

Here is the code I am using for both of the above problems.

HEADER.PHP
Code:
 <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'dobie.gif', 'DobieDay') . '</a>'; ?></td>
FOOTER.PHP
Code:
<?php
/*
  $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  require(DIR_WS_INCLUDES . 'counter.php');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
  <tr class="footer">
    <td class="footer">&&<?php echo strftime(DATE_FORMAT_LONG); ?>&&</td>
    <td align="right" class="footer">&&<?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>&&</td>
  </tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" class="smallText">
<?php
/*
  The following copyright announcement can only be
  appropriately modified or removed if the layout of
  the site theme has been modified to distinguish
  itself from the default osCommerce-copyrighted
  theme.

  For more information please read the following
  Frequently Asked Questions entry on the osCommerce
  support site:

  http://www.oscommerce.com/community.php/faq,26/q,50

  Please leave this comment intact together with the
  following copyright announcement.
*/

  echo FOOTER_TEXT_BODY
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-15-2003, 09:14 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,074
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

This happens because those files are no longer used to control the look of osC.

You need the edit the files in the /catalog/templates directory:

main_page.tpl.php

Almost EVERY cosmetic change is handled by the files in this dir and the sub-directories.

*** I am moving this post to the MS2-MAX forum ***
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-15-2003, 09:46 AM
New Member
 
Join Date: Aug 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
disciple
Default

I just figured this out.

I was coming back to tell everyone to ignore my post.

Thanks for the answer anyway. It may help someone else down the road.

Rick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-13-2003, 09:54 AM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
Default What am I missing

Am I am missing something here?? I have used the mainpage template before to replace the logo on my page ... just as mentioned above ... but now I have a new company logo ... when I change the mainpage template to show the new GIF file, it does not recognize it ... it still looks for and displays the old file.

Anyone know what I might be missing?

Thanks!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-13-2003, 10:12 AM
New Member
 
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
proton318
Default

Forget that last post, I am a moron!!

I was editing the wrong code ... I've been staring at PHP for way too long!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-18-2003, 02:25 PM
Member
 
Join Date: Jun 2003
Location: Helsinki
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Lynoure
Default

I have edited the mainpage template. However, if I click on Gift Voucher FAQ, the logo and icons on the header of the page revert to the unedited ones. I guess Gift Voucher FAQ doesn't for some reason use mainpage template. Do I need to make the changes for the logo & icons in some non-template file as well?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Change Header Logo mcheerios osCMax v2 Customization/Mods 2 10-03-2005 10:14 AM
trying to install trust SSL Certificate logo pr0ject123 osCMax v1.7 General Mods Discussion 0 09-08-2005 01:06 PM
Where do I change my store logo? jak211 osCMax v1.7 Discussion 2 01-02-2005 05:32 PM
How do you change the OSCOMMERCE logo with your store logo Matias osCommerce 2.2 Modification Help 7 10-31-2004 12:14 PM
How do you put you own logo at the top? AceDog osCommerce 2.2 Modification Help 2 11-30-2003 12:52 AM


All times are GMT -8. The time now is 11:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax