4875 Posts in 7042 Topics by 1472 members
|Go to End|
18 July 2009 at 2:51pm
Hmm...think that Firebug might be helpful in answering this question.
I'm using JQuery, but I'm using the latest version that's stored on Google's CDN -- http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js. If other libraries like Prototype are essential, where would I find references to the library in the CMS code, so I could point to the CDN?
Hmm...more thoughts about Firebug and an HTTP analyzer.
19 July 2009 at 12:55am
Well JS in SilverStripe is broken down into 2 parts. On the front end side prototype / behavior are both required by default for form validation. You can disable automatic JS validation and opt for your own solution (as like userforms which uses the jquery validate plugin) so then there is nothing loading from jsparty/
In the CMS it gets a bit tricky as it is in the process of being rewritten it uses various things from various libraries. Lots of the jquery plugins in jsparty/ are actually currently not used.
All the lang js files are there for translation purposes you could remove this if you wish, but it would be at your own risk.
where would I find references to the library in the CMS code,
|Go to Top|