Forums / Extensions / Why do ez not support jquery plugin

Why do ez not support jquery plugin

Author Message

Romeo Antony

Thursday 24 June 2010 1:46:51 am

Any idea why ez not supporting ez

Gaetano Giunta

Thursday 24 June 2010 2:01:37 am

Please explain?

The eZJSCore extension does support jquery...

Principal Consultant International Business
Member of the Community Project Board

Romeo Antony

Thursday 24 June 2010 5:01:10 am

I will explain Gaetano Giunta, I am using ezflow package and eZJSCore is activated in site ini of setting/override

as

[ExtensionSettings]
ActiveExtensions[]
ActiveExtensions[]=ezmultiupload
ActiveExtensions[]=ezjscore
ActiveExtensions[]=ezstarrating
ActiveExtensions[]=ezgmaplocation
ActiveExtensions[]=ezflow
ActiveExtensions[]=ezwt
ActiveExtensions[]=ezwebin
ActiveExtensions[]=ezoe
ActiveExtensions[]=ezodf

and i have a jquery file ( jquery.tools.min.js ) i put t in ezflow extension/ custom design /javascript directory

also declared the jquery.tools.min.js in design.ini in site user access.

but it is not working. any idea?

I am looking to take some jquery supporting scripts for image gallery . why it is like this\?

Gaetano Giunta

Thursday 24 June 2010 8:05:56 am

If you declared your new js file in design.ini, it should be loading. But that is easy to check: look at the html source of your rendered page and check if it is there, in the html header section.

If it is: then your problems come from js / jquery. This is probably not the best forum to help you.

If it is not: then you have most likely changed your pagelayout template and are not loading the javascript files that are declared in design.ini. You can either change your pagelayout template so that it does that, or try to load instead jquery.tools.min.js via the ezjscore template functions

Principal Consultant International Business
Member of the Community Project Board

Gaetano Giunta

Thursday 24 June 2010 8:06:44 am

ps: you can also check if your design.ini file is really set up correctly by looking at it via the admin interface in the setup/ini settings page

Principal Consultant International Business
Member of the Community Project Board

Romeo Antony

Friday 25 June 2010 4:44:15 pm

Now I am reaching the point

Can you plz check this code in ezjscore.ini and give me suggestion

since I am the first time dealing with ezjscore.

I need 3 jquery files for pgalayout.tpl

1. jquery-1.3.2.min.js

2. jquery.scrollTo-1.4.0-min.js

3. jquery.smoothDivScroll-0.9-min.js

In ezjscore.ini I set it as

LoadFromCDN=enabled

#PreferredLibrary=yui3
PreferredLibrary=jquery

ExternalScripts[jquery]=http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js
ExternalScripts[jquery]=http://flesler-plugins.googlecode.com/files/jquery.scrollTo-1.4.0-min.js

Also i didn't get the CDN link for 3rd jquery file jquery.smoothDivScroll-0.9-min.js

So I downloaded this file jquery.smoothDivScroll-0.9-min.js and put it in \extension\ezjscore\design\standard\javascript

And then I load this LocalScripts[jquery]=jquery.scrollTo-1.4.0-min.js

But something wrong with scrolling.

Do I need to declare this js files somewhere else like design.ini.append.php of user site access

Or in somewhere.

Any idea will be helpful

Everything is fine.But I think I need to declare it somewhere else. Any suggestions will be helpfull.

I have checked the whole code in wwwroot dir everything is ok. Any help

Romeo Antony

Friday 25 June 2010 4:51:36 pm

And in template file I have this code too {ezscript_require( array( 'ezjsc::jquery' ) )}

eZ debug

Timing: Jan 18 2025 02:59:59
Script start
Timing: Jan 18 2025 02:59:59
Module start 'content'
Timing: Jan 18 2025 03:00:00
Module end 'content'
Timing: Jan 18 2025 03:00:00
Script end

Main resources:

Total runtime0.6014 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1641180.8281
Module start 'content' 0.00720.4716 769.9922599.3594
Module end 'content' 0.47880.1225 1,369.3516341.0547
Script end 0.6013  1,710.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.7433210.0002
Check MTime0.00160.2640210.0001
Mysql Total
Database connection0.00110.187910.0011
Mysqli_queries0.500483.21622060.0024
Looping result0.00180.30352040.0000
Template Total0.573695.420.2868
Template load0.00250.416720.0013
Template processing0.571194.963820.2855
Template load and register function0.00010.022810.0001
states
state_id_array0.00080.125210.0008
state_identifier_array0.00060.102420.0003
Override
Cache load0.00220.3623630.0000
Sytem overhead
Fetch class attribute can translate value0.00120.197830.0004
Fetch class attribute name0.00120.202790.0001
XML
Image XML parsing0.00100.167530.0003
class_abstraction
Instantiating content class attribute0.00000.0046140.0000
General
dbfile0.01552.5773330.0005
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs