Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question about formating in the header


garnet

Recommended Posts

Posted

Hi

 

I have added the following row to the table in the header.

 

<table border="0" width="800" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="242" style=" border-right:1px solid #000000;"><?php require(DIR_WS_BOXES . 'search.php'); ?></td>
<td width="191" style=" border-right:1px solid #000000; border-left:1px solid #707070;"><?php if ((USE_CACHE == 'true') && empty($SID)) {echo tep_cache_manufacturers_box();} else {include(DIR_WS_BOXES . 'manufacturers.php'); }?></td>
<td width="128" style="border-left:1px solid #707070;" ><?php  if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {include(DIR_WS_BOXES . 'languages.php');} ?></td>
<td width="165" align="left"><?php if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {include(DIR_WS_BOXES . 'currencies.php');}?></td>
</tr>
</table>

 

i.e one row, 4 columns in it and in each column I have search, currencies, language and manufacturers respectively. I was expecting that the boxes will get into the columns as per the width specified above.

But instead I am getting this:

 

http://www.kupuvalnik.com/index.php

 

Help appreciated.

OSC beginner

Posted

You will need to alter them files in includes/boxes/ folder look style width etc

also look for what ever tep_xxxx function is creating the html in includes/functions/html_output.php and amend to width height you want

 

you will have to also remove

at top

<tr>

<td>

 

at bottom

</td>

</tr>

of the files your adding to the header

Posted
You will need to alter them files in includes/boxes/ folder look style width etc

also look for what ever tep_xxxx function is creating the html in includes/functions/html_output.php and amend to width height you want

 

you will have to also remove

at top

<tr>

<td>

 

at bottom

</td>

</tr>

of the files your adding to the header

 

Thanks for reply.

I did some play around and ended up with www.kupuvalnik.com/index.php

 

Boxes are in the header, but still a bit strange look. I didint understand about the tep function. Please could some one give me some more directions re: this so the boxes can fit in the header table nice.

 

 

P.S. dont mind design, still experimenting

OSC beginner

Archived

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

×
×
  • Create New...