coldfeet Posted January 1, 2007 Share Posted January 1, 2007 help please. Link to comment Share on other sites More sharing options...
jpweber Posted January 1, 2007 Share Posted January 1, 2007 Chris, you must upload your banner logo to your (catalog)/images folder. Then you must open up your (catalog)/includes/header.php file with a PHP editor. On or around line 57, you will see this: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Change the picture and the alt description to match your banner, for example: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'banner.jpg', 'Your Company Name') . '</a>'; ?></td> As far as your site being "live", well, it's "live" if you can go to a web browser and open it up on the web! Getting it noticed in search engines, however, is an entirely new subject called "SEO" (Search Engine Optimization). Good luck. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ... Link to comment Share on other sites More sharing options...
trophy Posted May 4, 2008 Share Posted May 4, 2008 My image has gone awol since I have tried to change it. I have done all of the above to the T and my banner does not show. "you must upload your banner logo to your (catalog)/images folder." Well I cant see a catalog I do have an admin folder is that the same as catalog?. My site is http://www.hobbiesplus.co.nz/ I sure would appreciate some help I have spent all day yes all day on this problem. I am also running basic design, don't know if that makes any difference. Gill A Link to comment Share on other sites More sharing options...
germ Posted May 4, 2008 Share Posted May 4, 2008 The broken image in your code says the image it wants is /images/HPlodsbanner.gif Remember how I told you in your other post about <right-click> & choose "Properties"? :unsure: It needs to go here: Click me But as you can see, it isn't found there. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
trophy Posted May 5, 2008 Share Posted May 5, 2008 Gee how are you able to get all that info from my site. I do have the pic there HPlodsbanner.jpg 16-Mar-2007 18:58 37k Now I have noticed that you had gif, then the penny dropped. I have now loaded the pic as a gif file to the images folder and you guessed it, it works. Thank you, thank you that is awesome. Gill A Link to comment Share on other sites More sharing options...
Maroco Posted May 6, 2008 Share Posted May 6, 2008 Chris, you must upload your banner logo to your (catalog)/images folder. Then you must open up your (catalog)/includes/header.php file with a PHP editor. On or around line 57, you will see this: <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> I don't have this option in that file. The closest is this.... <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> So, can anyone tell me where I've gone wrong. Cheers Link to comment Share on other sites More sharing options...
America-Warehouse.com Posted May 6, 2008 Share Posted May 6, 2008 I don't have this option in that file. The closest is this.... <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> So, can anyone tell me where I've gone wrong. Cheers I may be wrong or right *.png doesn't work with oscommerce ? need to be *.gif Let all of us know America-Warehouse.com {-- RJ --} Link to comment Share on other sites More sharing options...
America-Warehouse.com Posted May 6, 2008 Share Posted May 6, 2008 I don't have this option in that file. The closest is this.... <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></td> So, can anyone tell me where I've gone wrong. Cheers or 'store_logo.png', STORE_NAME) suppose to be this 'store_logo.png', 'STORE_NAME') ?? America-Warehouse.com {-- RJ --} Link to comment Share on other sites More sharing options...
Maroco Posted May 6, 2008 Share Posted May 6, 2008 or 'store_logo.png', STORE_NAME) suppose to be this 'store_logo.png', 'STORE_NAME') ?? America-Warehouse.com If I replace 'store_logo.png' with a .gif filename, the standard osCommerce banner just disappears and the web address is displayed in text in it's place which I assume is the 'STORE_NAME' if I remove 'STORE_NAME' also, I am left with a blank white space. I cannot get it to reference my image, even though it is uploaded correctly and I changed the code correctly as far as I could tell. When searching for the answer, I only get people referencing what is already outlined in this thread, and that is that the filename is different to mine. I don't know why I have the .png and store name thing. Problem is you can search and search, spend several hours on a minor issue, give yourself a headache and not get anywhere. I appreciate your help. Link to comment Share on other sites More sharing options...
germ Posted May 6, 2008 Share Posted May 6, 2008 The image can be .png, .gif, .jpg, anything a browser can display. Matt, you'll have to post your URL (or PM it to me) so I can look at the HTML source in order to help you. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted May 6, 2008 Share Posted May 6, 2008 Just change store_logo.png to HPlodsbanner.jpg remember it is case sensitive STORE_NAME is set in your admin area Configuration >> My Store >> Store Name Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
germ Posted May 6, 2008 Share Posted May 6, 2008 That was the image Gill was working with, not Matt... It's a convoluted thread... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Maroco Posted May 6, 2008 Share Posted May 6, 2008 Yes, convoluted. Sorry for bumping an old thread, it was the closest query to my problem so I added to it rather than creating a new thread. I have found the problem. The oscommerce.gif was in catalog/images/banner so I uploaded my banner to there. The file it was referencing was the .png, which was in the catalog/images folder so I uploaded the banner to there and it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.