Forums / Developer / Where do need to put jquery files in ez.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Where do need to put jquery files in ez.

Author Message

Romeo Antony

Friday 25 June 2010 11:06:20 pm

I have 3 jquery files jquery-1.3.2.min.js

jquery.scrollTo-1.4.0-min.js

jquery.smoothDivScroll-0.9-min.js

Where do I need to put it it and declare it

Where do I put it and declare it.

Which locations where I need to declare it?

Design.ini of site access?

In template file what changes should i make ? Any help?

Jérôme Vieilledent

Sunday 27 June 2010 6:10:17 am

Hello

jQuery is included in eZJSCore extension (bundled in Exponential 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 Exponential prior to 4.3, replace FrontendJavaScriptList by JavaScriptList ;-)

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