boostanddestroy Posted April 16, 2008 Share Posted April 16, 2008 i did what the sticky @ the top said to do but i cannot find the particular area of text it is talking about in the header.php file. i just put oscommerce on a couple days ago so im a little unclear but if someone could point me in the right direction i would appreciate it. ALSO I AM UNABLE TO CHANGE MY SHIPPING/HANDLING SECTION HOW DO I GO ABOUT THAT? noob- Link to comment Share on other sites More sharing options...
Guest Posted April 16, 2008 Share Posted April 16, 2008 You may want to do this. Just rename the oscommerce.gif file to an xoscommerce.gif and then upload your new image as oscommerce.gif. When you have it the way you like, just go back and delete the xoscommerce.gif file. Cheating yes, but object results are the same. Dale Link to comment Share on other sites More sharing options...
dmnalven Posted April 16, 2008 Share Posted April 16, 2008 This is not cheating. This is an accepted method of maintaining order to a sites' files. Whenever you wish to change it you simply upload a new image with the same name. This also removes the necessity of having to modify the code. You should actually give the original file a more descriptive name (eg. orig_oscommerce.gif) and keep it around for emergency/reference. You can even overwrite the original gif file (after saving it with a different name) with a jpg or png. The type extension doesn't matter for the banner and after all it's only a name. For ALL problems, please review this link first -> osCommerce Knowledge Base Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2008 Share Posted April 17, 2008 You can even overwrite the original gif file (after saving it with a different name) with a jpg or png. The type extension doesn't matter for the banner and after all it's only a name. One thing I found important though is PHP is case sensitive. So if your file name is oscommerce.gif you must enter the reference as oscommerce.gif not OSCommerce.gif. Link to comment Share on other sites More sharing options...
boostanddestroy Posted April 18, 2008 Author Share Posted April 18, 2008 i tried this method already (renaming my file to oscommerce.jpg) and it only changed the banner in my admin control panel :( noob- Link to comment Share on other sites More sharing options...
dmnalven Posted April 18, 2008 Share Posted April 18, 2008 oops. The default header image in 2.2rc2a is images/store_logo.png Upload your new image file to this filename. To change your Shipping/Handling text, go to admin Tools -> Define Languages pick shipping.php and put your new text here (including html if you wish. no single quotes unless preceeded by a backslash): $text = @file_get_contents(DIR_WS_LANGUAGES . $language . 'your_new_text_here'); For ALL problems, please review this link first -> osCommerce Knowledge Base Link to comment Share on other sites More sharing options...
boostanddestroy Posted April 18, 2008 Author Share Posted April 18, 2008 how do i save a file as .png? i am unable to. noob- Link to comment Share on other sites More sharing options...
BryceJr Posted April 18, 2008 Share Posted April 18, 2008 how do i save a file as .png? i am unable to. You'll need a graphics/image converter. There are plenty out there. Link to comment Share on other sites More sharing options...
boostanddestroy Posted April 18, 2008 Author Share Posted April 18, 2008 which one would you suggest? thank you very much. noob- Link to comment Share on other sites More sharing options...
Yrewol Posted April 18, 2008 Share Posted April 18, 2008 which one would you suggest? thank you very much. instead of saveing the logo as oscommerce.jpg, save it as a .gif instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.