Where do need to put jquery files in ez.

Where do need to put jquery files in ez.

Friday 25 June 2010 11:06:20 pm - 1 reply

Author Message

Jérôme Vieilledent

Sunday 27 June 2010 6:10:17 am

Hello

jQuery is included in eZJSCore extension (bundled in eZ Publish by default now). You can declare it in your siteaccess's design.ini override :

[JavaScriptSettings]
FrontendJavaScriptList[]=ezjsc::jquery

You can also explicitly declare your version of jQuery :

[JavaScriptSettings]
FrontendJavaScriptList[]=jquery/jquery-1.4.2.min.js

Note : if you use eZ Publish prior to 4.3, replace FrontendJavaScriptList by JavaScriptList ;-)

About your other JS files, just put them below your jQuery declaration :)

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.