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

The IE7 Slimbox bug - FIXED!!

Started by sembastian, March 23, 2009, 00:40:47 AM

Previous topic - Next topic

sembastian

Hi,

I'm new to VM but experienced in PHP/JS/HTMl. Recently I had to use joomla 1.5.9 and VM latest for know, 1.1.3 edition.

When you look at the shop.product_details page in FF  everything is fine. But in IE7 it pops an error up, says Error, cannot load page (url) Aborting!! Done. Shop is gone. So i decided to do some changes / research in code...

here is what i found, I'll try to be as short as possible:

/administrator/components/com_virtuemart/classes/htmlTools.class

search for line with this $version = 'mootools-release-1.11.js'; comment it just to know what you've changed, add same line with small change: $version = 'mootools-release-1.2.js';
Now download slimbox 1.69 .

There are 2 folders you have to look at:
components/com_virtuemart/js/slimbox/js
components/com_virtuemart/js/mootools/

In the downloaded archive upload js/slimbox.js to the first folder and replace the 1.54 version which comes bundled with VM 1.1.3.
Secondly upload js/mootools.js to the second one and on the server rename it to mootools-release-1.2.js

Well, hope this helps a lot, many people around the globe.
Greetz



Deyan

#2
Thanks a lot. My slimbox was off center, way to the left, in Internet explorer. This fixed it.

Good post