[eZjaxx] Ajax Admin extension discussion

Author Message

Matthew Carroll

Sunday 12 November 2006 1:42:21 pm

I just remembered a while back I got into a brief email conversation with Kristof about xajax and he asked if I could think of any other good targets for ajax inside the admin interface. Here is a summary of the few ideas I came up with:

1. any settings options that redirect back to the same page:

- the view toggle buttons: preview, details, translations... etc
- the Siteaccess selection dropdown under Quick Settings
- the width setting under 'Content structure'
- 'add to bookmarks' button

2. other tools that redirect back to the same page:

- 'create a copy' buttons wherever they appear
- hide / unhide in the context menu

3. very similar to the classattributes: adding and removing rows from a 'matrix' in the 'object attribute edit interface' - http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/matrix - being able to add a single row would be nice too

...I hope that sparks a few ideas. Thanks again for the great extension :-)

Matthew

http://carroll.org.uk

Matthew Carroll

Sunday 12 November 2006 3:16:40 pm

Sorry to keep spamming this thread, I just noticed the width setting has already been done. That's great - but it seems slightly broken. The csm gets correctly resized (and the setting persists correctly) but the links to change the width then disappear until the page is hard refreshed (the links are in the dom source but styled visibility: hidden). Was that intended?

http://carroll.org.uk

André R.

Monday 13 November 2006 12:23:06 am

Yes, it was intended.
I didn't prioritize to write the half page large script needed to change the tags and attributes. The easy way would probably be to have the other options hidden in the domtree already (from serverside with display:none) and just slide.

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

Anja Lundin

Tuesday 14 November 2006 3:47:02 am

Thank you for adding support for MaxNodes and MaxDepth. It works great!!!

Best regards!
/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Stig Tidemandsen

Wednesday 15 November 2006 4:39:47 am

Hey,

I've tried 0.81 now with eZ Publish 3.8.6. Seems like the search function has some trouble with special characters like 'æ', 'ø' and 'å'.

I have a folder called "Se og gjøre" and I can't seem to find it with the eZjaxx search function at all, no matter what I search for : "gjøre" , "*gjøre", "gjøre*", "*gjøre*", "Se og", "Se og"... all return "Empty Search result!". However, the standard search function in the admin interface finds the object.

Besides that, I think this is quite nice :)

Anja Lundin

Wednesday 15 November 2006 5:08:00 am

Hi Stig:
I've search on folders that have names with swedish characters: å, ä and ö. And it works fine here (ezjaxx 0.81 and ez 3.8.6)! Maybe you need to add some settings for what classes to search etc. somewhere?

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

André R.

Wednesday 15 November 2006 5:34:02 am

This is because some browser / regional settings don't support suche charters in urls, I'll move this variable to post data in next version.

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

Paul Forsyth

Wednesday 22 November 2006 10:03:10 am

Hi André,

WIth 0.9a and 3.8.6 there is a bug when i click the any of the width options ( large, medium, small ) the width does change but the links disappear. If i reload the page they reappear.

The sidebar search has cosmetic issues with firefox on linux. After using the next button the resulting list overwrites the back link.

Regarding the use of a custom pagelayout. Can you write up the required changes to pagelayout compared with the standard admin pagelayout? I often need to add new 'parts' sections and other little bits. It would be good to know the essential parts of your pagelayout which need to be included in order to use ezjaxx correctly.

Hope this helps :)

Cheers,

Paul

Matthew Carroll

Wednesday 22 November 2006 10:13:51 am

Paul, I asked about this above - apparently it's intended, although I agree it's confusing.

http://carroll.org.uk

Paul Forsyth

Wednesday 22 November 2006 10:24:37 am

I missed that. Sorry Matthew.

It is confusing. If i choose 'small' and find the content crammed in and overflowing i cant go back unless i reload.

Paul

Paul Forsyth

Tuesday 28 November 2006 10:15:05 am

re 0.91. lovely comment :)

André R.

Tuesday 28 November 2006 11:31:00 pm

It was either that or 'to let Matthew get some sleep at night' :)

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

Paul Forsyth

Friday 01 December 2006 8:53:36 am

Hmm, the width links do remain when i click but unfortunately the highlight around the first clicked linked - eg 'Large' - remains when i click small or medium. Refreshing the page corrects the issue....

paul

Matthew Carroll

Friday 01 December 2006 9:11:20 am

I'm looking forward to the 0.92 "Paul Want's to Have his Cake and Eat It" release...

;)

Matthew

http://carroll.org.uk

Frederic GUEHO

Sunday 17 December 2006 7:00:26 am

Hi all,

Great extension here. Bravo !

A little bug : the template 'createpolicystep1.tpl' is not working properly in IE when ezjaxx is activated. The text is not displayed and the second drop down list is not updated (after any choice in the first drop down list).

In Firefox (2.0), it works but not in IE (6.0, I haven't tested with IE 5.0, 5.5 or 7.0).

So in order to keep it running correctly I just renamed the file '/extension/ezjaxx/design/admin/templates/role/createpolicystep1.tpl' in '/extension/ezjaxx/design/admin/templates/role/createpolicystep1.tpl.old'.

Thank you.

André R.

Wednesday 10 January 2007 8:15:06 am

Hey Frederic and welcome to the forum.

I have now fixed the issue in 0.95, it turned out ie6 and lower don't support innerHTML setting on selections, so I used outerHTML to fix it.

I just heard of issues with this function in firefox 1.0.x also, where the dropp down menu sometimes get freaky. So more testing is needed on this.

ar

PS! version 0.95 removes a couple of files, so remember to delet the ezjaxx extension folder before you unzipp the new one (instead of just overwriting it)

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

Paul Forsyth

Tuesday 16 January 2007 8:36:04 am

Hi,

Ok, testing now with 3.9.0

Found one oddity so far which is that the admin_search toolbar doesnt appear by default. I have to add it manually to the siteaccess toolbar.ini. The extension toolbar.ini doesnt seem to be picked up.

Paul

Brendan Pike

Tuesday 23 January 2007 11:26:32 pm

Howdy, just tried 1.0 on ez3.9.0 and if breaks the extension with repeats of this error.

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fetchnodesort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in extension/ezjaxx/modules/jaxx/expand2.php on line 275

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Nicolas Lescure

Wednesday 24 January 2007 12:02:50 am

I think you can easily solve this problem.
In your .htaccess, write this line :

php_value allow_call_time_pass_reference 1

André R.

Wednesday 24 January 2007 1:06:37 am

Fix is now committed to svn, the version in svn is set to using expand2.php witch is a rather experimental version of expand.php. It does not support translations, create here menu and does not check read rights yet.

On the upside it is 2x-6x faster because it does not use templates and calls the db directly.

If anyone has the time to improve this script, be my guest.
Slightly outdated db diagram is found here: http://ez.no/ezpublish/documentation/reference/database_diagram

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

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