Sunday 04 July 2010 8:05:49 am
1. LocalScripts[] is a hash, and your setting the value for the 'jquery' key 4 times, so it's value ends up being the last one, namely jquery-1.4.2.min.js. 2. ezjscore is a js lib intergration, and your not supposed to have to change anything in it, especially when you miss understand what it is used for. Only reason you would want to edit settings in ezjscore.ini is if you want to add support for another library like Prototype/MooTools, or you wanted to use a newer version of jQuery / Yui and need to change the location of the script settings or if want to change from using CDN (ExternalScripts) to locale (LocaleScript). So, every thing you need in your template is : {ezscript_require( array( 'ezjsc::jquery', 'jquery.pikachoose.js' ) )} "ezjsc::jquery" is a dynamic call that uses settings from ezjscore.ini to determin where to load jQuery from. And jquery.pikachoose.js is a script you have downloaded and placed in your javascript folder in your design. ( eg: "extension/<my-extension>/design/<my-design>/javascript/jquery.pikachoose.js" )
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|