Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing


gandhi

Recommended Posts

If you want to remove the text and the box from the home page then go to catalog/index.php

 

Find

<tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr>

 

Around line 289 and comment it out

 

<!-- <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr> //-->

 

If you want to just remove the text then open catalog/includes/languages/english/index.php

 

Find the following:

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

 

Around line 19 and delete Let\'s See What We Have Here or change it to whatever you want

 

If you have a question it is usually good to search google first as it is better than the search on the forum

 

Use site:www.oscommerce.com/forums replace this bit with your question

 

HTH

Link to comment
Share on other sites

how does one do this

 

and the section which is called distro i want to place a few lines of text,

 

thanks in advance

You have an unkown template. Your template provider should be giving support.

Link to comment
Share on other sites

no its not, its the one i edited when i installed oscommerce...

You downloaded osc from here and installed it? Where does the section which is called distro come from?

 

A lot of newbie questions are answered in the installation and configuration forum, second post.

Link to comment
Share on other sites

If you want to remove the text and the box from the home page then go to catalog/index.php

 

Find

<tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr>

 

Around line 289 and comment it out

 

<!-- <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>
	</table></td>
  </tr> //-->

 

If you want to just remove the text then open catalog/includes/languages/english/index.php

 

Find the following:

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

 

Around line 19 and delete Let\'s See What We Have Here or change it to whatever you want

 

If you have a question it is usually good to search google first as it is better than the search on the forum

 

Use site:www.oscommerce.com/forums replace this bit with your question

 

HTH

 

 

tried removing the heading and its still there :(

 

www.brewrecords.net/shop

Link to comment
Share on other sites

You downloaded osc from here and installed it? Where does the section which is called distro come from?

 

A lot of newbie questions are answered in the installation and configuration forum, second post.

 

i installed it though my hosting package, i assu8me they are the same, i've added tall the distro section etc myself..

Link to comment
Share on other sites

tried removing the heading and its still there :(

 

www.brewrecords.net/shop

Better restore your backup file, I get

Parse error: syntax error, unexpected T_STRING in /home/brewreco/public_html/shop/includes/languages/english/index.php on line 14

Link to comment
Share on other sites

i installed it though my hosting package, i assu8me they are the same, i've added tall the distro section etc myself..

Still don't know what the the distro section is :blink:

Link to comment
Share on other sites

Looks like it gone now!!!

 

If you want to remove it from the category pages then look for the same thing earlier on in catalog/index.php

 

The first body section controls the category pages and the second body section controls the home page

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...