Dynamic Content Stucture menu (AJAX) prototype

Author Message

Kristian Hole

Tuesday 21 June 2005 2:04:03 pm

Hello everyone,

I have uploaded a Dynamic loading Content structure menu for eZ publish administration interface, using asynchronous javascript. EDIT:
The contribution was originally a prototype developed by me. It has now been contributed to by David Heath from VisionWT, and is now a good replacement for the original menu.

Here is a link to the contribution:

http://ez.no/community/contribs/hacks/dynamic_content_stucture_menu_ajax

Note:
My part of the development is done on my spare time, and is not connected to my work in eZ systems.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Kristian Hole

Tuesday 21 June 2005 11:54:30 pm

This is not really AJAX technology, just asynchronous javascript, but its allways nice to add some buzzwords ;-)

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Gabriel Ambuehl

Wednesday 22 June 2005 12:31:11 pm

How can I know it's active?

Visit http://triligon.org

Kristian Hole

Wednesday 22 June 2005 3:02:12 pm

It will replace the contentstructure menu in the left site of the administration interface. If you get a "Turn on Dynamic Menu" on the bottom of the content structure, it is working.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Lex 007

Thursday 23 June 2005 6:25:23 am

Hi

I tested it, it works fine, nice job.

kracker (the)

Thursday 23 June 2005 6:39:08 am

Kristian,

Care to post a few screen shots of the menu in action?

Respectfully,
//kracker

<i>Monk : Season 2</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Gabriel Ambuehl

Thursday 23 June 2005 11:50:34 am

Yeah it works fine. Too bad you can't use the context menu with it so far...

Visit http://triligon.org

Kristian Hole

Monday 27 June 2005 3:50:30 am

Kracker. Here is a screenshot ;-)

 Content structure

      -   asdf
      +   Nyheter
      -   Innenriks

Status: loading
Turn off Dynamic Menu

Update: I added a more graphical screenshot :)

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Kristian Hole

Monday 27 June 2005 3:52:50 am

Btw. there is a small thing missing in the code, which results in the menu not showing media and users correctly.. This should be easy to fix..

Maybe i should put this on pubsvn?

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

kracker (the)

Monday 27 June 2005 4:11:39 am

housing this at pubsvn.ez.no sounds like a really great idea :!

I only ask for a screen shot because I had problems installing / testing it out (didn't show up :)

While I've installed several extensions before I could not get the menu to show up in the admin :|

I'm sure I was doing something wrong, not the code, I just did not take the time to figure out what...yet!

Updated: I gave it another shot this morning and now realize I just didn't turn it on before :)

Now I see what it looks like, neat.

I guess the readme.txt might be more helpful if it included a brief sentence or two educating new users trying it for the first time on just what they should be looking for?

I just wanted to see what it looked like, thought others might as well. I think having a screenshot helps promote extensions, ehh.

//kracker

<i>Ascii Quake Rocks!</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

kracker (the)

Tuesday 28 June 2005 1:36:41 am

Thanks Kristian for the screenshot of the dynamicmenu!

http://ez.no/var/ezno/storage/images/community/contribs/hacks/dynamic_content_stucture_menu_ajax/366412-3-eng-GB/dynamic_content_stucture_menu_ajax_large.jpg

cheers,
//kracker

<i>man's best friend : dream i had on 25th birthday</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Kristian Hole

Thursday 21 July 2005 2:13:58 am

This took a while, but now I have uploaded the extension to pubsvn.

It is available here:
http://pubsvn.ez.no/community/trunk/extension/dynamicmenu/

Feel free to hack on it...

I know the menu does not work correctly if you go to media or users. That is a quick fix which i will apply when i get the time..

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

kracker (the)

Friday 22 July 2005 11:37:57 am

Hello,

I noticed that an update was made to the 'Contribution' page for the menu ...
<i>http://ez.no/community/contribs/hacks/dynamic_content_stucture_menu_ajax</i>

Yet I the revision number had not been incremented, nor did it highlight the latest changes or add an entry into the changelog field, which left me wondering just what brings the updated contribution object to the homepage?

<b>Request:</b> Would you include a changelog (ordered by dated entries ascending) into the contribution object/page changelog field? With a changelog we can all tell quickly just when and what updates the contribution page what has received since the last time we reviewed the contribution.

Currently it's (a little) difficult to discern just what's updated.

Respectfully,
//kracker

<i>Eminem : The Return of Slim Shady : I'm Gone</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Kristian Hole

Saturday 23 July 2005 2:23:03 pm

I just added the external link to the pubsvn server :)

Yes. If/When i update i will include a changelog.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Kristian Hole

Saturday 17 September 2005 4:58:51 pm

Hello all.
I have just updated the menu, with the following changes:

- Added: Timeouts for connections
- Added: Errormessage for unsupported browser
- Fixed: Menu now works when displaying users and media library
- Added: Support for browsing

Now the next thing to do is probably to get the contextmenu and icons working..

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Kristian Hole

Sunday 18 September 2005 5:21:51 am

Woho! Adding icons and the popupmenu wasnt as hard as i thougth.. I have committed it to the svn-version :-)

Now all we need is storing which levels where expanded, and automagically open the levels to the current node we are viewing..

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Gabriel Ambuehl

Sunday 18 September 2005 7:46:10 am

So will we get to see this in 3.8? ;-)

Visit http://triligon.org

Kristian Hole

Monday 19 September 2005 2:16:11 am

Well... it isnt tested very well, and just some rambling from me.. so i guess mr productmanager won't let this into the distribution without some competent people making it ;-)

But this extension will work in 3.8 too ;-)

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Tony Wood

Tuesday 27 September 2005 7:37:29 am

Hi Kristian,

Can you please email me at tony at visionwt dot com

Thanks

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bertrand Dunogier

Wednesday 05 October 2005 12:50:42 am

Very nice work Kristian... I was actually thinking yesterday evening about something similar, but you were here first ;)

I always get a timeout (local server) on containers with too many items, do you have any idea of how this could be handled ?

Otherwise, I really hope we can integrate more and more AJAX into the eZ Admin Interface in the future... I don't know if you have seen Zimbra (http://www.zimbra.com), but that kind of interface really gives you something to think about in my opinion ;)

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