VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Tamakom on July 13, 2012, 00:41:49 AM

Title: Product Description merges with the footer banner
Post by: Tamakom on July 13, 2012, 00:41:49 AM
Friends of Virtuemart 2.0.6
In Virtuemart => Products, the descriptions of the product, I have inserted a table (22 rows). But seeing in the browser, several rows at the bottom of the table does not appear because it merges with the footer banner.
I guess the solution would be to extend the template vertically. but if possible, to make it self-expandable vertically, provided that not hear; invade the bottom of the page.
The template is vertically expandable Beez_20, but this expansion does not work on virtuemart.
The problem is that the product description is long and includes tables, but it becomes a disaster, because it gets into a row of the table.

I would appreciate your great help
Title: Re: Product Description merges with the footer banner
Post by: jenkinhill on July 13, 2012, 19:52:15 PM
Try adding a <br clear="all" /> after the closing </div> in the components/com_virtuemart/views/productdetails/tmpl/default.php  - if that works the set it as a template override if you intend to continue to use Beez.
http://forum.virtuemart.net/index.php?topic=90935.0
Title: Re: Product Description merges with the footer banner
Post by: Tamakom on July 14, 2012, 14:44:14 PM
Quote from: jenkinhill on July 13, 2012, 19:52:15 PM
Try adding a <br clear="all" /> after the closing </div> in the components/com_virtuemart/views/productdetails/tmpl/default.php  -

Hi Jenkinhill
Thank you for your reply..!

I applied your instructions and the problem was not resolved. I transcribe several rows before your instruction to better understanding. At the end of the code, you notice that your code is applied.

Thank you very much..!

if (!empty($this->product->customfieldsRelatedCategories)) {
   echo $this->loadTemplate('relatedcategories');
    } // Product customfieldsRelatedCategories END
    // Show child categories
    if (VmConfig::get('showCategory', 1)) {
   echo $this->loadTemplate('showcategory');
    }
    if (!empty($this->product->customfieldsSorted['onbot'])) {
       $this->position='onbot';
       echo $this->loadTemplate('customfields');
    } // Product Custom ontop end
    ?>

<?php // onContentAfterDisplay event
echo $this->product->event->afterDisplayContent; ?>

<?php
echo $this->loadTemplate('reviews');
?>

</div>
<br clear="all" />

[attachment cleanup by admin]
Title: Re: Product Description merges with the footer banner
Post by: PRO on July 14, 2012, 15:54:00 PM
html validate the page, and see if there is an open div
Title: Re: Product Description merges with the footer banner
Post by: Tamakom on July 15, 2012, 02:23:43 AM
Quote from: BanquetTables.pro on July 14, 2012, 15:54:00 PM
html validate the page, and see if there is an open div
BanquetTables
Thank you for your cooperation.

Latest code per row unsaved:

<td bgcolor="CEDCB6" height="25">
<div align="center"><span class="Estilo1">98/2489</span></div>
</td>
<td bgcolor="CEDCB6" height="25">
<div align="center"><span class="Estilo1">101/2565</span></div>
</td>
<td bgcolor="CEDCB6" height="25">
<div align="center"><span class="Estilo1">9870/4486</span></div>
</td>
</tr>
</tbody>


This is the result after save.
<td bgcolor="CEDCB6" height="25">
<div align="center"><span class="Estilo1">98/2489</span></div>
</td>
<td bgcolor="CEDCB6" height="25">
<div align="center"><span class="Estilo1">101/2565</span></div>
</td>
<td bgcolor="CEDCB6" height="25">
<div align="center">&lt;span class="Estilo1"</div>
</td>
</tr>
</tbody>
</table>
Title: Re: Product Description merges with the footer banner
Post by: PRO on July 15, 2012, 18:03:45 PM
I mean in your template, or template overrides

validate the page

http://validator.w3.org/
Title: Re: Product Description merges with the footer banner
Post by: Tamakom on July 17, 2012, 15:59:21 PM
Thank you.
I solved the problem. This was caused by an error code generated by Dreamweaver. I used Dreamwaver to make the table, and generate code. I am no code expert.

I found an excellent tool that I share with you:

http://tableizer.journalistopia.com/tableizer.php

Regards and good day...!