Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help!!


JaydenKlahan

Recommended Posts

by changing the infoBox constructor to accept a separate css class. Then override the $this->table_parameters fields with the passed css name. Leave the default css that the box uses as the default css name in the constructor. So when you instantiate the box class if you pass the extra parameter it will use the override otherwise it will use the default class.

 

ie:

class infoBox extends tableBox {
function infoBox($contents, $css_class='class="infoBox"') {
  $this->table_parameters = $css_class;
.........

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...