dasalnt Posted June 2, 2003 Posted June 2, 2003 I'm trying to figure out where i would go to add a picture underneath the welcome msg in the middle column. If anyone can give me some pointers it would be appreciated, thanks!
Guest Posted June 2, 2003 Posted June 2, 2003 in default.php you will see a line in the html code where the welcome message is displayed you would simply add a <tr><td><img..... etc after that
dasalnt Posted June 2, 2003 Author Posted June 2, 2003 thanks for the tip, i'm goin to try it right now!
dasalnt Posted June 2, 2003 Author Posted June 2, 2003 after looking at default.php, i didnt find the html code where the welcome code is. The only html code i see is: //define('TEXT_MAIN', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, <b>any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.<br><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://oscommerce.com"><u>support site of osCommerce</u></a>. This shop is running on osCommerce version <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.<br><br>The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/[language]/default.php.<br><br>That can be edited manually, or via the Administration Tool with the Languages->[language]->Define option, or by using the Tools->File Manager feature.'); I tried adding: <tr> <td><img src="/images/paypal_logo.gif"></td> </tr> after the code above but it gave me an error. I am looking to add a picture under this msg: Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account? Thanks for any help!
Guest Posted June 2, 2003 Posted June 2, 2003 in catalog/default.php, toward the bottom of the file you should find code that looks like this: <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td class="main"><br><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><br><?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> you want to add <tr> <td><img src="images/paypal_logo.gif"></td> </tr> either after the customer greeting or TEXT_MAIN table rows
mcgyver7923 Posted June 2, 2003 Posted June 2, 2003 Go to this thread where I explain how I add content under the welcome message: http://www.oscommerce.com/forums/viewtopic.php?t=46473 HTH -Richard --------------------------------------------------- Where would I be without the Forums?!?!
Guest Posted June 6, 2003 Posted June 6, 2003 look in languages/english default.php to change texting
Recommended Posts
Archived
This topic is now archived and is closed to further replies.