Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Completely remove heading_title and table_background_default from index page


barney12

Recommended Posts

Posted

Hi

 

This is REALLY driving me mad. I want to completely remove the heading_title text (I.e. Whats new here?) and table_background_default image on the index page.

I know that I can simply change the define for the text in the english files and also change the default image to pixel_trans but this leaves a white space above the next section of text (In my case "Welcome Guest etc etc)

 

I've searched and searched for the code that I need to remove but to no avail. I thought it would be in /language/english/index.php but cant find it there.

 

Please help me before I go barmy :(

 

Rob

Posted
Hi

 

This is REALLY driving me mad. I want to completely remove the heading_title text (I.e. Whats new here?) and table_background_default image on the index page.

I know that I can simply change the define for the text in the english files and also change the default image to pixel_trans but this leaves a white space above the next section of text (In my case "Welcome Guest etc etc)

 

I've searched and searched for the code that I need to remove but to no avail. I thought it would be in /language/english/index.php but cant find it there.

 

Please help me before I go barmy :(

 

Rob

 

The code is in your index.php file not the language file.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Open index.php and remove the code that calls for the text and image.

 

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<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>

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
Open index.php and remove the code that calls for the text and image.

 

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<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>

 

Thanks Wendy

:D

Archived

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

×
×
  • Create New...