15
Feb
2
Disable Default JavaScript Behaviours
By default SilverStripe uses bulky and sometimes unwanted JavaScript libraries to handle form validation and AJAX page commenting features. Often you want to disable this behaviour so you can integrate your own JavaScript code. This is easily achieved with the following two lines in you site configuration file:
mysite/_config.php
Now you are free to add the behaviours you want to your view (templates) without the hassle of unpredictable SilverStripe JavaScript includes.
About the Author
Name: Hamish Campbell
Website: http://polemic.net.nz/
Hamish is a web developer for Opus International Consultants in New Zealand. He creates tools for managing data online, with a particular interest in geographical information systems. He is also an active contributor to the SilverStripe open source project. You can find Hamish on twitter (@polemic) or catch him at his ever-neglected web home http://polemic.net.nz/.
Comments (2)
-
I was just doing some web browsing on my Garmin Phone during my break at my work place, and I came across something I thought was interesting .
It linked over to your website so I clicked over. I can’t really find the relevance between your site and the one I came from, but your site good none the
less.thanks for sharing thoes informations , It is interesting, i like it!Posted by tiffany earrings, 07/09/2010 2:43am (39 mins ago)
-
Thanks for sharing the informations i like it ,it is very usefull,really!and hope your websit is popular more and more!
Posted by pll fm , 16/08/2010 10:31pm (21 days ago)
RSS feed for comments on this page RSS feed for all comments