richy Posted February 19, 2004 Posted February 19, 2004 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
♥yesudo Posted February 19, 2004 Posted February 19, 2004 files to look at: index.php includes/header.php includes/languages/english.php Your online success is Paramount.
lea7au Posted February 19, 2004 Posted February 19, 2004 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
seru Posted February 19, 2004 Posted February 19, 2004 I tried(edit include/header.php)... but it's not working ... .. do we have to edit other files too?
♥yesudo Posted February 19, 2004 Posted February 19, 2004 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.
seru Posted February 19, 2004 Posted February 19, 2004 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
seru Posted February 19, 2004 Posted February 19, 2004 what am I thinking ... *boink* wrong usage of term in my last msg, it should be : I *downloaded STS yesterday, ....
1quicksi Posted February 19, 2004 Posted February 19, 2004 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. knowledge base | Contributions | Search
♥yesudo Posted February 19, 2004 Posted February 19, 2004 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.
seru Posted February 19, 2004 Posted February 19, 2004 hello emmett, u mean this one? <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'marketseru1.gif', 'marketseru') . '</a>'; ?>
seru Posted February 19, 2004 Posted February 19, 2004 thx 1quicksi, that's another great and safe way...
♥yesudo Posted February 19, 2004 Posted February 19, 2004 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.