Forums / Developer / [eZjaxx] Ajax Admin extension discussion

[eZjaxx] Ajax Admin extension discussion

Author Message

André R.

Friday 31 August 2007 5:58:46 am

Ok, overlooked a small thing so should work now in version 1.1.0.
If want to patch your self, this should fix your javascript menu problem

$itemName = str_replace( array( "\\", "\"", "'"), array( "\\\\", "\\042", "\\047" ) , substr($item['name'], 0, 18) )

I have also fixed the translation of 'Please wait..' in 1.1.0.

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

Jérôme Vieilledent

Friday 31 August 2007 6:10:50 am

Thanks, no it works perfectly ! :-)

Stig Tidemandsen

Tuesday 11 September 2007 5:05:00 am

I'm using eZjaxx 1.1.0

Seems like there is a cache-block problem with the content structure menu in the media section. The active node isn't selected and the tree is therefore always collapsed.

I've tried this on ver. 3.9.3 and 3.9.2

André R.

Tuesday 11 September 2007 5:51:20 am

Hi, seems like a regression for some of the changes I did in 1.1.0, I have uploaded 1.1.1 now that fixes the problem.

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

Stig Tidemandsen

Tuesday 11 September 2007 5:57:06 am

Fixed within an hour! Nice!

Tested it, and it works perfectly now. Thanks!

Gwenal Le Bihan

Wednesday 12 September 2007 3:47:57 am

Hello,

I've just installed the ezjaxx extension v1.1.0 and replaced v1.0.0 and i have an old fixed bug reappearing. When i'm on browsing mode : when i fold/unfold a tree, i leave the browsing mode (ie. content/browse/node_id) and go back to the "normal" mode (i.e content/view/full/node_id).

Am I missing some tunings in .ini files or a cache problem? I'm using eZ 3.9.2 .

Besides, I'm having some cache issues because, some tree nodes unfold with french translated words (thats' what i want!) and some other node in english (fold/unfold can be seen instead of the french translation). I hope I'm clear :-)

Thx for your help

Gwenal

André R.

Wednesday 12 September 2007 4:39:03 am

Seems like the local fall back value ( $UIcontext ) was overwriting the parameter ( $Params['UIcontext'] ).
Fixed that and the missing translation of Fold/Unfold in the ajax expan menu.

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

Gwenal Le Bihan

Thursday 13 September 2007 3:07:50 am

Now it works fine :-))
Thx
Gwen

Gwenal Le Bihan

Tuesday 02 October 2007 3:48:07 am

Hello again,

I've noticed a visual bug that was not on the previous versions, when there's nothing to unfold for a node it seems that the icon is a bit "misplaced" on the left of the tree, on the vertical dots which could be a bit confusing for the reading of the whole tree.

I don't know if it's my installation (last version of ezjaxx on eZ 3.9.2)

Gwenal

Gwenal Le Bihan

Tuesday 02 October 2007 4:00:07 am

Re-Hello,

and i forgot, strangely enough, when i roll-over an icon in the ezjaxx tree, now I see <i>[class_identifier] name of the node</i> instead of <i>[class_name] name of the node</i> which is what it used to be...

I'm wondering if something settings have changed or still my installation....

Gwenal

André R.

Tuesday 02 October 2007 4:03:17 am

Did you remember to add this to design.ini for your admin siteaccess?

[StylesheetSettings]
CSSFileList[]=ezjaxx.css

 

Check your source code and search for 'ezjaxx.css' to verify.

To sum up: You'll need to copy the admin settings you want from the extension to you admin siteaccess, if your admin siteaccess is named something else then 'ezwebin_site_admin'.

RE: Re-Hello:
This is a performance tweak in the ezjaxx code to shave of some more db calls, when coupled with 3.9.3 or higher class_identifier is preloaded when fetching nodes and objects.

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

Gwenal Le Bihan

Tuesday 02 October 2007 5:19:18 am

Thanks, i had an unwanted reinitialization of my css lists... :-)

Stéphane Boudassou

Friday 05 October 2007 1:06:45 am

Hello,
I have this message just below the menu in the admin interface "Javascript files needed for ezjaxx on demand menu not loaded".

What can I do ?

Ezpublish 3.9.3 and ezjaxx112

Stéphane

André R.

Friday 05 October 2007 1:19:02 am

Look at my last post here, and apply the same to javascript.

Or to refer the 3. point in the install.txt file:

3. copy the ezjaxx/settings/ezwebin_site_admin settings
   to the your admin siteaccess(es) if they are not called ezwebin_site_admin.

You might also have to clear template compile cache ( ini settings are hard coded in compiled templates unless fetched 'dynamically', so this goes for all settings used in templates )

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

Stéphane Boudassou

Friday 05 October 2007 6:48:28 am

indeed my admin siteaccess is not called ezwebin_site_admin
It works now
Thanks André

Denitsa M.

Monday 29 October 2007 6:51:48 am

Hi,

first of all, gratz to André, a great extension!

Unfortunately, I have a problem with the "drag and drop" functionality... All seems to be ok, but this feature is only working when using it on object relation attribute, and not with list ... The attributes are all set to use browse method, so it's not that ... Any help here, please?

/Using last version of eZjaxx/

Iguana IT - http://www.iguanait.com

Matthew Carroll

Wednesday 16 January 2008 3:39:05 pm

I'm a little confused by something - with the extension enabled I can no longer access the context menu for any items in the content structure menu that have children, because the + / - icon appears over the folder icon.

Is this intended?

I can see the ezjaxx.css in the html source of the admin page, so I don't think that's the problem, and I added all the ini settings to my admin siteaccess.

Any ideas?

Thanks
Matthew

http://carroll.org.uk

André R.

Thursday 17 January 2008 12:59:52 am

Hi Matthew!

What version of eZ Publish are you using, and are you using ezjaxx from download or svn?

BTW: I have not intentions of supporting this extension on 3.10 and higher.
The reason is simple, 3.10 has it's own super fast (it's using content cache and a special 'light' index_treemenu.php file) ajaxified content tree menu. And I'm currently lobbying for inclusion of the Keyword auto suggest, relations Ajax search, class edit up/down Ajax support and access rules Ajax support in 4.1.

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

Marco Zinn

Sunday 14 September 2008 12:45:43 am

Hi André,

can you please tell us about the current status of these neat ajax function for ez 4.
In particular, i'm interessted in the class editing stuff for ez 4(.0.1). Will that work? Are you working on it? Will these things be included in ez 4.something.. If so, when ? ;)

Cheers,
Marco

Marco
http://www.hyperroad-design.com

André R.

Sunday 14 September 2008 6:22:46 am

There is not much new on that front, havn't had much time for it. The plan would be to make it as part as the ezcore extension. Most of the baseline ajax main parts are done, 'only' migrating the functionality is left.

ref:
http://projects.ez.no/ezcore

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

eZ debug

Timing: Jan 18 2025 11:32:04
Script start
Timing: Jan 18 2025 11:32:04
Module start 'content'
Timing: Jan 18 2025 11:32:05
Module end 'content'
Timing: Jan 18 2025 11:32:05
Script end

Main resources:

Total runtime1.5189 sec
Peak memory usage4,096.0000 KB
Database Queries276

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.3750180.8281
Module start 'content' 0.00861.3177 770.2031964.3438
Module end 'content' 1.32630.1925 1,734.5469382.8672
Script end 1.5188  2,117.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2818210.0002
Check MTime0.00160.1068210.0001
Mysql Total
Database connection0.00130.086310.0013
Mysqli_queries1.386191.25542760.0050
Looping result0.00320.21352740.0000
Template Total1.485197.820.7425
Template load0.00220.144620.0011
Template processing1.482997.627520.7414
Template load and register function0.00010.007810.0001
states
state_id_array0.00080.053710.0008
state_identifier_array0.00150.100520.0008
Override
Cache load0.00230.15131040.0000
Sytem overhead
Fetch class attribute can translate value0.00160.102790.0002
Fetch class attribute name0.00090.0598240.0000
XML
Image XML parsing0.00300.194890.0003
class_abstraction
Instantiating content class attribute0.00010.0038300.0000
General
dbfile0.00330.2192470.0001
String conversion0.00000.000430.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
10content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
20content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
29content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 75
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs