VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: pietrek on May 09, 2014, 00:31:20 AM

Title: Page footer jumps into product details page
Post by: pietrek on May 09, 2014, 00:31:20 AM
Hello,

My page footer jumps from main layout into product detail page, for example here: http://www.dompaneli.pl/excellence/wenge-detale
It shows up among custom fields code. I use extension "Multiple Customfields Filter for Virtuemart", but don't know is it a matter of VM or the extension.

Footer keeps its position when browsing other subpages.

Regards, Pietrek
Title: Re: Page footer jumps into product details page
Post by: GJC Web Design on May 09, 2014, 09:06:10 AM
not on that link in FF or Chrome here..

image?
Title: Re: Page footer jumps into product details page
Post by: pietrek on May 09, 2014, 09:40:43 AM
Here you are, image and source.

Regards, Pietrek

[attachment cleanup by admin]
Title: Re: Page footer jumps into product details page
Post by: GJC Web Design on May 09, 2014, 13:43:40 PM
can only be a closing div missing or extra span etc.. quite hard to find as browsers try to correct simple html mistakes and so the source will be correct for what the browser tried to deduce...
use Firefox and Ctrl+U and you'll see a load of stray </span> .. these are all marked in red - all around the custom fields area

use Firebug and it has a "Generated Source view (pre browser rendering) - from that I can see all the custom fields are cascading inside each other



[attachment cleanup by admin]
Title: Re: Page footer jumps into product details page
Post by: pietrek on May 09, 2014, 21:06:58 PM
Thank you GJC for your attention.
I digged through the php and found the reason - I switched off part of the code one line too far. ::)
Regards,Pietrek