News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

strange code inside mod_virtuemart_product VM2.0

Started by lipes, January 13, 2012, 23:44:38 PM

Previous topic - Next topic

lipes

I've got an strange code inside the mod_virtuemart_product  (VM 2.0)

<table class="blog" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top"/>
</tr>
</tbody>
</table>

How i can delete this?! It gives me a bad / strange margin or padding between 2 divs ... and i dont think that i need this code on random products display.....

VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lipes

Im in an local server... Please see this image...


someone could help please?! Thanks
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lipes

i've removed the code in:
D:\Ampps\www\MP2\components\com_content\views\frontpage\tmpl\DEFAULT.PHP

all lines, including the <table class="blog<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" cellpadding="0" cellspacing="0"> .. etc..

But the problem persists! :|

When i Disable the mod_virtuemart_product  (Extensions > Module Manager > mod_virtuemart_product  ) .. the problem goes away... but the list of random produts too! :|
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

Quote from: prolipes on January 15, 2012, 21:12:44 PM
i've removed the code in:
D:\Ampps\www\MP2\components\com_content\views\frontpage\tmpl\DEFAULT.PHP

all lines, including the <table class="blog<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>" cellpadding="0" cellspacing="0"> .. etc..

Redo it. com_content has nothing todo with vm. The problem must be in the mod_virtuemart_product
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rooney

J1.7.3 & VM2
I am also having the same problem getting unwanted space in mod_virtuemart_product.
After disabling the module, the space goes away.


lipes

i didnt discover but i've changed the styles codes with margins -10px one div over the div or table... this is a shit because i cant discover the solution for this problem but its ok...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO


lipes

I'am in Ampps server making my father's website yet.

here's what i did / insert in the file   localhost\MP2\modules\mod_virtuemart_product\tmpl\default.php

<div style="margin-top:-15px">
<?php defined('_JEXEC') or die('Restricted access');
$col= 1 ;
$pwidth= 'width'.floor ( 100 / $products_per_row );
if ($products_per_row > 1) { $float= "float:left";}
else {$float="center";}
?>
.....
...
etc
</div>
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

<?php defined('_JEXEC') or die('Restricted access');
$col= 1 ;
$pwidth= 'width'.floor ( 100 / $products_per_row );
if ($products_per_row > 1) { $float= "float:left";}
else {$float="center";}
?>
<div style="margin-top:-15px">

dont put anything ABOVE 

<?php defined('_JEXEC') or die('Restricted access');

lipes

If i do this way like you say it gives me the same problem... :/
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

bluesheep

Hallo Forum

I have the same problem. Before the <div class="vmgroup"..... there are tree "tabstopp's". I have the newest revisions of the files.
Ich habe das gleiche Problem. Vor dem Code <div class="vmgroup"..... werden drei Tabstopss angezeigt. Ich arbeite mit den neusten Datei-Revisionen.

Beste Grüsse
bluesheep

bluesheep

Good morning forum

I have sold the problem with this post: http://forum.virtuemart.net/index.php?topic=98700.msg326459#msg326459 its works fine!
Mein Problem habe ich mit diesem Post gelöst: http://forum.virtuemart.net/index.php?topic=98700.msg326459#msg326459 es funktionierte gut!

VM 2.0.2 + Joomla 2.5.2 + newest revision of the mod_virtuemart_product files
VM 2.0.2 + Joomla 2.5.2 + neuste Revision der mod_virtuemart_product Dateien

Beste Grüsse
bluesheep