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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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> 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
?>
|
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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? |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |