This is a discussion on How do you change the OSCOMMERCE logo with your store logo within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I cant seem to figure out how to get that logo out of there, I tried the database and the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I cant seem to figure out how to get that logo out of there, I tried the database and the heading.php file, but nothing seems to work. The only option I have left is to replace the image on the server, however it will then still be images/oscommerce.gif and I want it to my image name. So that means I gotta change it somewhere on the site, how do I do that? |
|
#2
| |||
| |||
| catalog/include/header.php Change: <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Oscommerce') . '</a> Mine reads: <a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', 'NRSF') . '</a> |
|
#3
| |||
| |||
| Is it possible to replace the header image with flash?? My main site is all built in flash and it would be much easier to use the existing header etc.. than try to duplicate it with static content. Thanks! |
|
#4
| |||
| |||
| Hi, This is the table that holds up all of the top portion of oscommerce, Approx. line 54 of includes/header.php Code: <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>
<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>&nbsp;&nbsp;</td>
</tr>
</table> Code: <table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td>Your flash thing here</td>
</tr>
</table> As for Matias, the only reason I see why you are not able to change the header.php file is that your ftp program is set not to over-write what is currently existing on the server, you might want to rename the file on the server first before uploading the new edited header.php, you can change the logo simple by putting the logo name similar to what AnnieChrist did. Hope it helps, Paul Mabuhay ang Pilipino |
|
#5
| |||
| |||
| Paul, We're getting somewhere now but not quite there yet. I found out that the call is actually happening from within /catalog/templates/aabox/main_page.tpl.php since i'm running max and using a modified version of the aabox template to learn how to do this stuff. I added the call as you said but just getting a white box, no header. Here is the code and i've already tried creating a /flash/header.swf file just about everywhere with no luck. I tried calling a few layers deep to be sure and got nada. I'm thinking the call is incorrect at this point. I'd appreciate anyone's input as to what i'm doing wrong here, i'm sooooo close!! <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td><object classid="clsid <param name="movie" value="flash/header.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="BASE" value="flash"> <embed src="flash/header.swf" width="759" height="233" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="flash" wmode="transparent"> </embed> </object> </td> </tr> </table> |
|
#6
| |||
| |||
| Hi, try this way <param name="movie" value="http://www.yoursite.com/flash/header.swf"> point it to where exactly your flash file is, it may be a case of an incorrect path. Paul |
|
#7
| |||
| |||
| This is the only thread I can find after hours of searching! I too wish to put a flash.swf insert into the header.php - Is it possible for anyone to point me at a working header.php? |
|
#8
| ||||
| ||||
| actually the code for flash from macromedia needs to go into application top....... |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRINT INVOICE with store LOGO??? | Kyle_Bassett | osCMax v2 Customization/Mods | 2 | 10-18-2005 07:27 PM |
| Change Header Logo | mcheerios | osCMax v2 Customization/Mods | 2 | 10-03-2005 09:14 AM |
| How can I change the default logo on the top, and the scroll | Redeye_Joe | osCMax v2 Customization/Mods | 6 | 06-22-2005 06:00 PM |
| Where do I change my store logo? | jak211 | osCMax v1.7 Discussion | 2 | 01-02-2005 05:32 PM |
| Problem with osC-PrintOrder with Store Logo v1.0 | knullhund | osCMax v1.7 General Mods Discussion | 1 | 03-26-2004 06:12 AM |