Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

can't remove text


Recommended Posts

I can not remove text in english/index.php and english.php with out getting parse errors. All i would like to do is remove the text that says "What's new here".

These are the errors i get:

Parse error: parse error in catalog/includes/languages/english.php on line 147


Parse error: parse error in catalog/includes/languages/english/index.php on line 13


I also have text on the home page that says:







Some of my php is below:

--This is my changed english.php(i inncluded some of the lines above)


// categories box text in includes/boxes/categories.php

define('BOX_HEADING_CATEGORIES', 'Categories');


// manufacturers box text in includes/boxes/manufacturers.php

define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');


// whats_new box text in includes/boxes/whats_new.php

define('BOX_HEADING_WHATS_NEW', '');



// quick_find box text in includes/boxes/quick_find.php

define('BOX_HEADING_SEARCH', 'Quick Find');

define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.');



This is my changed english/index.php(i included some lines above)


define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

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

define('HEADING_TITLE', '');

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

define('HEADING_TITLE', 'Categories');



Link to comment
Share on other sites

Does anyone know how to remove the What's new here text on the front page without getting parse errors. i only changed what was inbetween the '' marks just like all of the wiki documentation says and still get the errors in my above post.

Link to comment
Share on other sites

The defines should look like this:


define('HEADING_TITLE', '');


Look in the files you mentioned for the lines that contain the capitalized text that you are seeing on your page. Chances are those are the defines that are messed up. Look for missing single quotes ('), parentheses, and the semicolon at the end of the statement. The most common error is erasing one or both single quotes by mistake.




See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

In this one

define('HEADING_TITLE', '');


try putting a space between the single quotes like this:

define('HEADING_TITLE', ' ');


And if there any others where you have removed the text, put a space also.

Link to comment
Share on other sites


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

  • Create New...