Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is the infobox code from?


Banana Man

Recommended Posts

Hi,

 

I am trying to set it up so that i can use different layouts for different infoboxes. I am using STS and had it set to use my own template infoboxes but then you can only have one infobox design which is not ideal. I think the only way to do it is to get into the nittey gritty of oscommerce. I am having problems figuring out how oscommerce goes about outputting the code for something like the currency box though. Can someone tell me where it gets all the html table info from? I would ideally like to change this all to css. Also, can i have different layouts for differejnt infoboxes?

 

Here's the currency infoboc code i am talking about:

 

<!-- start currenciesbox //-->

 

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">Currencies</td>

<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">

 

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="center" class="boxText"><form name="currencies" action="http://localhost/index.php" method="get"><select name="currency" onChange="this.form.submit();" style="width: 100%"><option value="USD" SELECTED>US Dollar</option><option value="EUR">Euro</option></select><input type="hidden" name="osCsid" value="3d3045f833c04a63155bad14385ba3d6"></form></td>

</tr>

 

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

 

<!-- end currenciesbox //-->

 

 

 

Thanks!!

Link to comment
Share on other sites

Can someone tell me where it gets all the html table info from? I would ideally like to change this all to css. Also, can i have different layouts for differejnt infoboxes?

 

sure you can. But for that you have to dig in more into diff files... Back up "catalog/includes/classes/boxes.php " and play around. Try chaning you css accordingly.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...