chrometweaks.org

Http://www.iPage.com/e_hulse2001/fun_d_mental.html if you paste all this in to address bar the page

Click Here To View All Answers...


Got a question, hope someone can answer... Http://www.iPage.com/e_hulse2001/fun_d_mental.html if you paste all this in to address bar the page Many thanks for any response. Another quick question... Hello -.

I simply want to change the text that says "Let's see what we have here" and have followed all the directions given (I understand how to balance parenthesis, quotes, use the backslash before an apostrophe, etc). I am not familiar with PHP but do understand HTML. Still no luck. Parse error. I copied the correct index.php before fooling with it and pasted it back into the editing screen when I couldn't get things to work. I'm still getting an error now.

I can paste the code if necessary. Thanks in advance...

Comments (158)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some Googling and get back to you if I got an useful answer. You should email the people at iPage as they probably could give you help..

Comment #1

It's been a while since I changed the text around my store, but are you looking at catalog/includes/english/index.php? That's where some of your heading text is. Another file to look at for text changes is catalog/includes/english.php.

Of course, change to your language above if it's not English..

Yol.

This post has been edited by.

Jailaxmi.

: 05 November 2008, 00:56..

Comment #2

Here's the code. I would like to say "Carbone Planters Online Store" instead of "Let's see what we have here". Here's the code:.

<?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('TEXT_MAIN', '');.

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', 'What\'s New Here?');.

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

Define('HEADING_TITLE', 'Categories');.

}.

?>.

Thanks again...

Comment #3

Change this:.

Define('HEADING_TITLE', 'Let\'s See What We Have Here');.

Pretty obvious..

Comment #4

I think she understands that Gary but is getting errors when making the change..

Lisa, you are actually missing a couple of backslashes. Use this code instead:.

<?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('TEXT_MAIN', '');.

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', 'Carbone Planters Online Store');.

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', 'What\'s New Here?');.

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

Define('HEADING_TITLE', 'Categories');.

}.

?>..

Comment #5

Peter, the good news is the parse error is gone. The bad news is, the page is completely blank now. I am doing a simple copy and paste of your code into the editing screen. Any ideas? Thanks so much...

Comment #6

You aren't using the admin file manager to make changes, are you?..

Comment #7

Use Notepad or Wordpad to open oscommerce/catalog/includes/languages/english/index.php from your HDD..

Near the bottom there are several lines starting "define" (without the quotes)..

'What\'s New Here' is one of the definitions. It's the second up. Replace that text - keeping the single quotes - and save as a .txt file..

Save the file and then upload it to the correct location on your server, rename the old file (I prefer ???.BAK as a mnemonic) and then rename 'index.php.txt' to just 'index.php'. If, for some reason it doesn't work you can rename or even delete it and then just put the old file back to it's original name..

While you're changing the main page title you can also change the category page heading at "define('HEADING_TITLE'" (the first of that block of definitions) and quite a few others...

Comment #8

Peter, I am. I suspect I'm losing some of the syntax when copying and pasting from Word? I'll try the suggestion further down this thread. Thanks again (though I may be back!)...

Comment #9

Thanks, Jan, for the suggestion. I made the changes and uploaded but am still getting a blank page. I am using the Admin File Manager to upload. Still stuck...

Comment #10

Lisa, you can't use MS Word, it will do strange things to the code. You need to use a plain text editor - Notepad if you have nothing else. I use EditPad Lite, which is free, while a lot of others use Crimson Editor, also free. Google for one of them..

Never use the admin file manager to make changes..

This post has been edited by.

Spax.

: 07 November 2008, 22:34..

Comment #11

That could be part of the problem. An FTP app is far more useful for these kinds of up/down loads (although some say it's problematical I have used CuteFTP Pro for several years)..

By the way ... Word is no good for editing as it adds 'hidden' (i.e not visible) formatting commands within the structure of it's files. Wordpad is better and Notepad is best. When saving the file from Notepad you have to do so a "Text Documents(*.txt)".

This post has been edited by.

Enzio_Ferrari.

: 07 November 2008, 22:36..

Comment #12

I did use Notepad this time. And I usually use FTP Commander but am having trouble figuring out where to upload into osCommerce's server. Sorry to sound so dense about this...

Comment #13

OK. Thanks, Peter. I'll hang on to your code for use once I get this sorted out...

Comment #14

The file goes back into catalog/includes/languages/english.

There are more hints, tips and ideas here.

Http://forums.oscomm...howtopic=274968..

Comment #15

Hello -.

I simply want to change the text that says "Let's see what we have here" and have followed all the directions given (I understand how to balance parenthesis, quotes, use the backslash before an apostrophe, etc). I am not familiar with PHP but do understand HTML. Still no luck. Parse error. I copied the correct index.php before fooling with it and pasted it back into the editing screen when I couldn't get things to work. I'm still getting an error now.

I can paste the code if necessary. Thanks in advance...

Comment #16

Yes, post the code and what you want to change it to. Someone here will set you straight...

Comment #17


This question was taken from a support group/message board and re-posted here so others can learn from it.