Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

index Banner question


rocketpromo

Recommended Posts

Looks like you already figured it out. If not, can you please be more specific as to what it is that you want to change?

 

-jared

 

I want to replace the "welcome to RocketPromo..." and the product photo to the left, with the banner "no screen charges" banner which is currently below the welcome message.

 

Thank you for your reply.

cp

Link to comment
Share on other sites

Unless you are using a template system, the text you want will be in osc/includes/languages/english/index.php .

 

http://www.oscommerce.info/kb/osCommerce/C...n_and_Layout/53

 

-jared

 

Here's a better visual on what we're trying to do... in the BEFORE image is what we have now, the AFTER image is our goal. I had no problem commenting out the "welcome" table in the html code. One of the learning curves is how to edit html code without messing up the php. If I simply were to take the code from our index as it is displayed in the web browser, make the edit, I don't know where to save it?

 

Any thoughts will be appreciated.

 

rocketpromo%20before.gif

rocketpromo%20after.gif

Link to comment
Share on other sites

What is the definition of TEXT_MAIN in includes/languages/english/index.php ?

 

-jared

 

Here ya go...

<link href="../../../stylesheet.css" rel="stylesheet" type="text/css" />
<?php
/*
 $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2007 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', 'For over 10 years, RocketPromo, Inc. has provided millions of imprints for clients like NBC, Animal Planet, Paramount Pictures, Chevron and 100s others. Our ability to work with clients of any size within any budget, makes the customers we serve as diverse as the over 1,000,000 products we offer. <br><br>

Please contact one of our experienced project managers to assist you with your next promotional project');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
 define('HEADING_TITLE', 'Let\'s See What We Have Here');
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'This Month\'s Pick Six');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');

}
?>

Link to comment
Share on other sites

1) change this:

define('TEXT_MAIN', 'For over 10 years, RocketPromo, Inc. has provided millions of imprints for clients like NBC, Animal Planet, Paramount Pictures, Chevron and 100s others. Our ability to work with clients of any size within any budget, makes the customers we serve as diverse as the over 1,000,000 products we offer. <br><br>

Please contact one of our experienced project managers to assist you with your next promotional project');

to this:

define('TEXT_MAIN', '');

 

2) the images must be called in index.php (NOT the language file). Search for the image names in osc/index.php and comment them or remove them (after making a backup, of course).

 

-jared

Link to comment
Share on other sites

1) change this:

define('TEXT_MAIN', 'For over 10 years, RocketPromo, Inc. has provided millions of imprints for clients like NBC, Animal Planet, Paramount Pictures, Chevron and 100s others. Our ability to work with clients of any size within any budget, makes the customers we serve as diverse as the over 1,000,000 products we offer. <br><br>

Please contact one of our experienced project managers to assist you with your next promotional project');

to this:

define('TEXT_MAIN', '');

 

2) the images must be called in index.php (NOT the language file). Search for the image names in osc/index.php and comment them or remove them (after making a backup, of course).

 

-jared

Thanks Jared,

I'll give this a go!

cp

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...