Avoiding multiple jQuery files?

Having trouble installing ModphpBB3 - Post any questions or issues in here.
candie111
Forum Member
Forum Member
Posts: 21
Joined: Mon Nov 29, 2010 7:57 am
Contact:

Avoiding multiple jQuery files?

Postby candie111 » Thu Jul 07, 2011 1:37 am

With more and more MODs making use of jQuery, has anyone come up with a way to prevent having a build up of redundant links to jquery,js in the overall_header.html?

Potential problems are people adding MODs could have multiple links to jquery.js files in their headers, or links to different versions of jquery.js files too.

Is there any idea how to prevent or notify admin's installing MODs how to make sure they only have one jquery file, even though they may have installed multiple MODs that use and include jQuery??

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am
Your Forum/Website URL: http://phpbbmexico.com

Re: Avoiding multiple jQuery files?

Postby cisco007 » Fri Jul 08, 2011 1:18 am

what i have done is if multiple mods use some kind of jquery, remove all those similar lines and just leave one jquery, most code is the same and the mods should work!
Image
Image


Return to “ModphpBB3 Installation”



Who is online

Users browsing this forum: No registered users and 7 guests