VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: eurosystems on June 27, 2014, 13:21:41 PM

Title: Lightbox conflict with template
Post by: eurosystems on June 27, 2014, 13:21:41 PM
Hi all!
I've a problem: image lightbox works perfectly, but not for the MANIFACTURER. I think it should be a conflict with my template...

Please see the problem here: http://www.es-network.it/site/prodotti/aloe-vera/puro-succo-di-aloe-vera-1000ml-dettaglio

Anyway, the "Ask a question for this product" not works correcly!  :'(

Someone knows how to fix? Thanks
Title: Re: Lightbox conflict with template
Post by: jenkinhill on June 27, 2014, 15:32:31 PM
Looks like jQuery problems. On the product page I get these errors:
"NetworkError: 404 Not Found - https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/themes/base/jquery-ui.css"
jquery-ui.css
"NetworkError: 404 Not Found - https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js"
jquery-ui.min.js
"NetworkError: 404 Not Found - https://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js"
jquery-ui.min.js
ReferenceError: EasyDiscuss is not defined
$( '[data-show-child]' ).on( 'click' , function()

The jQuery version you load is 1.8 which is probably is incompatible with VM2.6.6 (although it will work with VM3 when it is released), and you are not loading the VM version, 1.6.4  - see http://forum.virtuemart.net/index.php?topic=119638.0

The problem is template related.   Ask a question worked OK for me, Firefox 30.0
Title: Re: Lightbox conflict with template
Post by: eurosystems on June 27, 2014, 21:10:42 PM
Thanks a lot

This is my backend configuration for VM

I've disabled the jQuery Easy Plugin but the error still stand...
:(

[attachment cleanup by admin]