osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How do you change the OSCOMMERCE logo with your store logo

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-01-2004, 07:18 AM
Lurker
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Matias
Default How do you change the OSCOMMERCE logo with your store logo

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 09-01-2004, 08:13 AM
Member
 
Join Date: Sep 2004
Location: Langhorne, PA
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
AnnieChrist
Default

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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-24-2004, 04:48 PM
909 909 is offline
New Member
 
Join Date: Sep 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
909
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-24-2004, 06:42 PM
Member
 
Join Date: Aug 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wenzlerpaul
Default

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>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
  </tr>
</table>
if you wish to change the entire layout to a flash based header, just do the flash inside this

Code:
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr class="header">
    <td>Your flash thing here</td>
  </tr>
</table>
Play around it till you get the feel.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-25-2004, 12:16 AM
909 909 is offline
New Member
 
Join Date: Sep 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
909
Default

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="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="759" height="233">
<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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-25-2004, 10:41 PM
Member
 
Join Date: Aug 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wenzlerpaul
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 10-30-2004, 03:28 PM
Lurker
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
psypop
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 10-31-2004, 12:14 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

actually the code for flash from macromedia needs to go into application top.......
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
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


All times are GMT -8. The time now is 12:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax