Skip to Content Skip to Menu

How do I disable load jquery in CB?

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 9 months ago - 12 years 9 months ago #187746 by nant
Replied by nant on topic Re: How do I disable load jquery in CB?

jfriesen wrote: nant since you warn against making a core edit and since it seems like a pretty reasonable thing to want to remove jQuery, can this be made a configurable thing?

James


Relevant information and nice discussion here:
groups.google.com/group/joomla-dev-cms/browse_thread/thread/1df8232b4edf60df?hl=en

specifically:

5) Since over 2 years, between teams cooperating with Community
Builder we have agreed to have a constant J_JQUERY_LOADED that CB and
other third party check to be not defined before loading and set to 1
after outputing the jquery base library include. Some developers check
for that, others don't. Not the most elegant solution, but easy enough
and works. It would be nice if there is no other mechanism agreed that
at least this constant be official


--
but beware that CB 1.x plugins need jquery 1.5.x, and that jquery 1.6+ are incompatible backwards
Last edit: 12 years 9 months ago by nant.

Please Log in or Create an account to join the conversation.

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
12 years 9 months ago #187816 by fribse2011
Replied by fribse2011 on topic Re: How do I disable load jquery in CB?
Yes please

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum