Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get rid of the text on index.php HELP! I've tried everything


cdc43

Recommended Posts

I'm sure this is a very simple question and I apologize in advance, but I can't find the answer by searching. I want to get rid of the main text on index.php. I don't want to see the numbered items! I just want the new products to be moved up to their place! I've tried deleting all the text, but I keep getting an error. It's very frustrating. If anyone can show me the exact lines to remove, I would be SO Grateful.

 

Thank you in advance,

Crystal

Link to comment
Share on other sites

I'm sure this is a very simple question and I apologize in advance, but I can't find the answer by searching. I want to get rid of the main text on index.php. I don't want to see the numbered items! I just want the new products to be moved up to their place! I've tried deleting all the text, but I keep getting an error. It's very frustrating. If anyone can show me the exact lines to remove, I would be SO Grateful.

 

Thank you in advance,

Crystal

 

It's in the file /includes/languages/english/index.php

Look for

define('TEXT_MAIN', 'bla bla bla');

Put what you like between the apostrophes.

 

If that is the file you modified and you are gettin errors you might have made a mistake.

What error is it?

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Thank you for responding. I was in the right folder, but I couldn't find the correct second apostrophe! But, I have found it now.

 

Thanks again. I do appreciate the help.

Crystal

 

It's in the file /includes/languages/english/index.php

Look for

define('TEXT_MAIN', 'bla bla bla');

Put what you like between the apostrophes.

 

If that is the file you modified and you are gettin errors you might have made a mistake.

What error is it?

Link to comment
Share on other sites

Thank you for responding. I was in the right folder, but I couldn't find the correct second apostrophe! But, I have found it now.

 

Thanks again. I do appreciate the help.

Crystal

 

Ah those pesky apostrophes!! It's enought to bomb your site.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

It's in the file /includes/languages/english/index.php

Look for

define('TEXT_MAIN', 'bla bla bla');

Put what you like between the apostrophes.

 

If that is the file you modified and you are gettin errors you might have made a mistake.

What error is it?

 

i dont see nor can i find

define('TEXT_MAIN', 'bla bla bla');

in the index.php file. i am in the correct file as it says above. but i dont see it.

Link to comment
Share on other sites

i dont see nor can i find

define('TEXT_MAIN', 'bla bla bla');

in the index.php file. i am in the correct file as it says above. but i dont see it.

 

It won't say bla bla bla it has the default text there I have that in as a place holder for the text on the page.

 

Why don't you post the contents of the page here and we will figure it out.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

It won't say bla bla bla it has the default text there I have that in as a place holder for the text on the page.

 

Why don't you post the contents of the page here and we will figure it out.

 

=====================================================================

this is what i have. so far. also on this part,

define('HEADING_TITLE', '<font size=2>THE BEST DVD MOVIES ONLINE</font>');

it comes out ok, but across from it, there is like a broken image link.

 

TIA TIA!!!

=====================================================================

 

<title>XXXotic World</title><?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

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', '<font size=2>THE BEST DVD MOVIES ONLINE</font>');

define('TABLE_HEADING_IMAGE', 'Product 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', '<img src="http://www.xxxoticworld.com/catalog/images/xxxoticvids.jpg">');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

That is the right file looks like you are missing a couple of lines:

 

define('TEXT_MAIN', 'your index text here');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

 

Add these in before

 

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

 

Put what you like in place of "your index text here" you can even use html code.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

That is the right file looks like you are missing a couple of lines:

 

define('TEXT_MAIN', 'your index text here');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

 

Add these in before

 

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

 

Put what you like in place of "your index text here" you can even use html code.

 

you are totally FRESH mate.

i have another question.

on this line,

define('HEADING_TITLE', '<font size=2>THE BEST DVD MOVIES ONLINE</font>');

in the same index.php file. across from where the txt is displayed has a broken image link.

any idead as to how i can fix it? or modify it.

i am a totaly n00bzilla to php, i am a graphics guy, so to me this makes like no sense, but i pick it up perdy quick. so please be patient with me.

 

this is the link to what im talking about,

http://www.xxxoticworld.com/catalog/index.php?cPath=3_30

 

ok, i must warn you, my shop is an adult video site.

 

TIA TIA

Link to comment
Share on other sites

Opps didn't read your last line until it was too late. My wife likes your site. LOL

 

The text is showing up fine it is on the left side of the page.

What show up beside it is the image for the category. You can insert an image via the admin area. Go to

 

Admin > Catalog > Select category > press edit (right hand side) > under Category image select Browse and assign file.

 

Done.

 

Hey this must be in the manual? Links to documentation in my signature.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Opps didn't read your last line until it was too late. My wife likes your site. LOL

 

The text is showing up fine it is on the left side of the page.

What show up beside it is the image for the category. You can insert an image via the admin area. Go to

 

Admin > Catalog > Select category > press edit (right hand side) > under Category image select Browse and assign file.

 

Done.

 

Hey this must be in the manual? Links to documentation in my signature.

 

thanx a million! also, high 5 for your wife! *holds up my hand* so does she like the design? colors? or the content?? any crits are welcome =)

Link to comment
Share on other sites

thanx a million! also, high 5 for your wife! *holds up my hand* so does she like the design? colors? or the content?? any crits are welcome =)

I was only joking about my wife. You might want to post your warning about the content infront of the link next time. :blink:

Don't worry no harm done.

Good luck with your site!!

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...