osCmax v2.5 User Manual
Results 1 to 6 of 6

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 ...

      
  1. #1
    New Member
    Join Date
    Aug 2003
    Posts
    18
    Rep Power
    0


    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
    ?>

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Aug 2003
    Posts
    18
    Rep Power
    0


    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

  4. #4
    New Member
    Join Date
    Sep 2003
    Posts
    25
    Rep Power
    0


    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!!

  5. #5
    New Member
    Join Date
    Sep 2003
    Posts
    25
    Rep Power
    0


    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!!

  6. #6
    Member
    Join Date
    Jun 2003
    Location
    Helsinki
    Posts
    65
    Rep Power
    0


    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?

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •