Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customization, Customization, Customization


smashing

Recommended Posts

Where on earth is the source code for the infoboxes. Now I'm not talking the css classes of the boxes themselves, but rather the tags enclosing each box if you know what I mean. For example:

 

How do I put valign="top"

 

<td height="14" overhere? class="CategoriesBoxHeading"><img src="images/CategoriesBox/corner_left.gif" border="0" alt="" width="11" height="14"></td>

Link to comment
Share on other sites

That would be in /catalog/include/classes/boxes.php

 

If you search for function info_box_contents[], just add valign="top" to the first params list.

 

This will make all the info boxes (I **think** left only) have a valign="top"

 

If you don't want that and feel good about modifying code. You could rewrite the function infoBoxHeading in class infoBoxHeading to take another optional parameter

 

,$align= ""

 

put $align in the first params list and in the categories.php file in catalog/includes/boxes

 

have it make a new infoBoxHeading like so

 

$valign='valign="top"';

new infoBoxHeading($info_box_contents, true, false, false, $valign);

 

Let me know if this works!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...