Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing span class from index page


mysterymouse

Recommended Posts

Posted

How can i delete this part of the text from the front page without messing up all the formatting in the table?

Also still wondering how I can delete the white space at the top of the front page if I have deleted the welocme guest and the main heading?

 

<br><br><nobr>(\'TEXT_MAIN\', \'<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>\');</nobr><br><br><br><br></nobr><br><br

Posted

The script for the home page is in a nested table which starts at line 299 on a vanilla page, which looks like this

 

		<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="main"><?php echo tep_customer_greeting(); ?></td>
	  </tr>
etc

 

Being a table in its own right, you should be able to play around with it without upsetting the rest of the layout, as long as you only alter things within that nested table.

 

Check the outcome by viewing the source code to make sure that the layout is ok.

Archived

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

×
×
  • Create New...