News:

Looking for documentation? Take a look on our wiki

Main Menu

Product Description merges with the footer banner

Started by Tamakom, July 13, 2012, 00:41:49 AM

Previous topic - Next topic

Tamakom

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

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Tamakom

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]

PRO

html validate the page, and see if there is an open div

Tamakom

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>

PRO

I mean in your template, or template overrides

validate the page

http://validator.w3.org/

Tamakom

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...!