Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: conflict of Jquery ?? or Bug JS ? + SSL as always

conflict of Jquery ?? or Bug JS ? + SSL as always 10 years 7 months ago #6322

Hi,

I have updated in 3.8 and always the same things to change Manually could you integrate it in the futur upgrades maybe ? :)

I am under SSL so for the addlink stuff or facebook stuff i have always to change it in the code to have some https:// request in place of http ones for this part ? thanks if yes .

Could you try this link under chrome for example ? :
www.kubevent.fr/location/video/videoprojecteurs

And reload the page one or twice ..

After reloading i have always something like the attachement :

Attachment Capture_2013-09-06.PNG not found



i Assume you are using jquery right ? if yes could you insert the option to not load the script because it can conflict with others and a lot of scripts using jquery now add the option to choose how load it from the cdn or locally .. etc ..
If its the cause of my bug ..

Sorry if not but sometimes for a someone not develloping all the time like me its really boring to understand which script loads what ...

Thanks :)
The administrator has disabled public write access.

conflict of Jquery ?? or Bug JS ? + SSL as always 10 years 7 months ago #6332

Hi,

Our VM Template never loads jQuery library, but the Virtuemart Component loads & requires jQuery, which is jQuery1.6
Our VM Template uses that jQuery1.6 that gets loaded by Virtuemart component to handle the jQuery based applications.

About the not opening images:
Those are "manufacturer" logos. Either disable "Show Manufacturer Logo" options through "Flexible VM2 Template" plugin, or follow this tutorial:
flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/250-tutorial-how-to-show-manufacturer-logos

Be relax that our VM Template never loads any jQuery library to your website. But as i am seeing in your website source codes. your website is loading 4 jQuery libraries (all of them have different versions). Wowww 4 is biggest number i have ever seen. It will just increase the page loading time, since every JS library package are around 100kb, loading multiple jQuery library is pretty useless and not necessary because essential they are all the same thing. You should find 1 version that supports everything and to with it. Since you are a Virtuemart user, and Virtuemart loads jQuery1.6, then your jQuery should be jquery1.6

You should eliminate all of those and leave only the jQuery1.6

The easiest way to eliminate all the multiple jQuery libraries is installing this plugin:
flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/523-the-easiest-way-to-solve-jquery-conflict-issues

(and after installing this plugin, select: jQuery1.6 from the dropdown list, so this plugin will let loading only jQuery1.6 and blocks all the others)

Regards.
Support & Development
The administrator has disabled public write access.

conflict of Jquery ?? or Bug JS ? + SSL as always 10 years 7 months ago #6348

HI and thanks for the anwser ..

I have this plug in already install but its really a mess on my side to understand who loads what ...

I have jquery from many things it seems :

- Template from rocket theme .. many rockets add ons use it
- K2 use it but there is an option to choose which Jquery local or distant but i didn't know which one use or select ..
- JCE Editor loads Jqury ...
- Community builder ...
- VM2 .
- My ajax search box ... and Login register popup ..
- Image Gallery Pro ..

I am really lost with this Grrr Jquery codes ..

When i make what you discribe many of these plugins stop working normally ...
The administrator has disabled public write access.

conflict of Jquery ?? or Bug JS ? + SSL as always 10 years 7 months ago #6356

The best way to deal with jQuery, is to "know" what plugin you are installing to your joomla.. You should carefully pick those.

If you grab the extensions around randomly without knowing what jQuery library they require; you will eventually end up with a problem as yours. Loading multiple libraries is not the end of the world. But this shouldn't be more than 2. For instance, loading jQuery1.6 for Virtuemart and loading jQuery1.9 for a slideshow is acceptable. But at least load the 2nd jQuery only where it is needed. (for instance; if the slideshow is on your homepage, then load the 2nd jquery1.9 only on the homepage not in all pages.).

You need to dig the PHP files to control these jquery loading. There is no plugin to organize things automatically. This can only be done manually, through PHP modifications.

But since this problem has nothing to do with our VM Template, I can't provide any further support about it.

Regards,
Support & Development
The administrator has disabled public write access.
Time to create page: 0.070 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo