Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need to change the logo on the homepage


richy

Recommended Posts

Posted

Hello,

 

It is my first use of osCommerce and I don't see how to change the information on the very first page of the catalog.

I would like to put my logo on the top left of the page and change the text on the homepage.

I am looking for many hours and I don't find the solution.

 

Thank you so much for your help !

 

Richy

Posted

files to look at:

 

index.php

includes/header.php

includes/languages/english.php

Your online success is Paramount.

Posted

catelog/includes/header.php file is where you can change your logo

ther is a line

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . oscommerce.gif', 'osCommerce') . '</a>'; ?>

change the oscommerce.gif to your_file.gif and upload your image to the catelog/images directory

hope this is of some help

Posted
I tried(edit include/header.php)... but it's not working ... .. do we have to edit other files too?

which bit are you attempting to edit?

Your online success is Paramount.

Posted

I tried to change the logo .. by editing header.php in include directory.

 

changed oscommerce.gif to mygraphix.gif ...

I uploaded STS yesterday, I hope this would not effect the other stuff

 

seru

Posted

what am I thinking ... *boink* wrong usage of term in my last msg, it should be :

 

I *downloaded STS yesterday, ....

Posted

Your best bet would have been to rename oscommerce.gif to oscommerce.gif.bak and upload your image as oscommerce.gif This way if it is called from anmyplace else you will not need to edit another file ;)

 

catalog/includes/languages/YourLanguage/index.php

 

Is the place to edit your opening page.

 

Please use the search and read Wiki as there is a huge amount of knowledge out there of whihc many questions have already been covered.

Posted
I tried to change the logo .. by editing header.php in include directory.

 

changed oscommerce.gif to mygraphix.gif ...

I uploaded STS yesterday, I hope this would not effect the other stuff

 

seru

let's see your amended code.

Your online success is Paramount.

Posted

hello emmett, u mean this one?

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'marketseru1.gif', 'marketseru') . '</a>'; ?>

Posted
hello emmett, u mean this one?

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'marketseru1.gif', 'marketseru') . '</a>'; ?>

mine is referenced, in the header file, like this:

 

<img src="http://www.yesudo.com/images/yesUdologo.gif" align="center" border="0" alt="yesUdo.com - Gadgets & Gifts">

Your online success is Paramount.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...