Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Move Infobox to footer


Mookie_Jam

Recommended Posts

Include them in the includes\footer.php Watch the table elements that exist before/after within each of the box code

<tr><td>

 

It will also be better if you copy them to different filenames and then include them.

 

The code to include them is in the includes\column_left.php and includes\column_right.php so you could simply copy it to the footer.php

Link to comment
Share on other sites

Include them in the includes\footer.php Watch the table elements that exist before/after within each of the box code

<tr><td>

 

It will also be better if you copy them to different filenames and then include them.

 

The code to include them is in the includes\column_left.php and includes\column_right.php so you could simply copy it to the footer.php

 

It works fine!!

 

The problem is that I want it to be shown in 3 columns, not 3 rows... and can't get it!

 

With this code stills 3 rowms instead 3 columns :(

 

 

<table border="0" width="775" cellspacing="0" cellpadding="0">
 <tr>
<td align="center" class="smallText">

<?php
include(DIR_WS_BOXES . 'languages.php');
?>
</td>
<td><?php
include(DIR_WS_BOXES . 'currencies.php');
?></td>
<td></td>
 </tr>
</table>

Link to comment
Share on other sites

Each of the box files (the default ones) begin/end with a row/cell table element. Have you remove those?

 

		  <tr>
		<td>
// Box code

</td>
</tr>

 

Note that If you remove them they cannot be used on the left/right sides of your catalog thats why I mentioned to create new files.

Link to comment
Share on other sites

Each of the box files (the default ones) begin/end with a row/cell table element. Have you remove those?

I dont remember deleting any element...

 

Cant get it!! tryed this code and din't work too... >_<

 

<table border="0" width="775" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php
include(DIR_WS_BOXES . 'languages.php');
?>
</td>
</tr>

<tr>
<td>
<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

</td>
</tr>

<tr>
<td>
// Box code

</td>
</tr>
</table>

Link to comment
Share on other sites

Not the code you're posting thats fine. The box code

 

Each box file has those table elements. So you have

 

catalog\includes\boxes\languages.php

 

That file has the table elements you have to remove. (or copy it and remove them from the new file)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...