[AJAX-TreeMenu] ezodcsm extension discussion

Author Message

Paul Forsyth

Monday 10 April 2006 2:07:20 am

Hi James,

Its located here:

http://pubsvn.ez.no/community/trunk/extension/ezodcsm/

If you visit a contribution page such as:

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

you should see a link on the right side with '(external url)' which is normally a link to the svn source.

I should be able to upload in the next day or so. We were fixing a few bugs with our code last week.

Daniel, i want to restructure the top level of the extension a little to add a branch,trunk and tags directory. I hope this is ok. I want to put our changes on a branch to allow for better testing.

Paul

Paul Forsyth

Monday 10 April 2006 4:04:39 am

Ok, i've added the code on another branch:

http://pubsvn.ez.no/community/trunk/extension/ezodcsm/branches/virtual_folders

Have a play!

As our support will show virtual years and months it will only activate for folders which are sorted by either the published or modified date. We think this makes sense :)

It will work on 3.7 but notices are shown so disable these in index.php. Someone could make a branch to remove the few notices that appear for a pure 3.7+ version :) This version works for 3.6+ if notices are disabled.

ShowClasses/HideClasses does work :)

If there are issues please let us know.

Paul

Daniel Beyer

Monday 10 April 2006 8:19:12 am

Hi Paul,

changing the structure in svn is just fine with me.

I'll take a look to our contribution soon!!!

Greetings, Daniel.

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

Paul Forsyth

Monday 10 April 2006 8:34:21 am

I've just added a new tag for the 1.0.7 release:

http://pubsvn.ez.no/community/trunk/extension/ezodcsm/tags/version_1_0_7

This should allow those who need the current release to fetch if they need.

Paul

Dariusz Wlodarczyk

Monday 10 April 2006 12:54:05 pm

There is no menu when i add another location to node (when i browse for new location) on ezp3.6.6

--- UDPATED (18.04.2006) ---

I upgrade from 1.0.7 to the SVN Trunk (revision 1055) and now is all ok ;)

Paulo Almeida

Wednesday 12 April 2006 3:54:43 am

Is there any option to increase timeout, because im my case, when i'm unfonding some folders give me "Unable to expand menu. Remote server error".
I think that is a timeout problem, because it runs really well in smaller structures.

------ UPDATE ----

i forgot to clear cache in this website after activare this extension, so this was my fault.

PACPI.COM Internet Consulting
http://pacpi.com

Paul Forsyth

Wednesday 12 April 2006 6:42:50 am

Which version of the extension are you using? There are now three:

1.0.7.
SVN Trunk (only available on pubsvn.ez.no)
SVN Virtual_Folders (only available on pubsvn.ez.no)

Paul

Siniša Šehović

Tuesday 18 April 2006 12:11:40 pm

Hi Paul

I have installed it from svn on 3.8.0rc1 and I don't see tree anymore?!
Is it supposed to work on 3.8.0 or I just have to wait for new release? ;-)

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.

Sébastien Hordeaux

Wednesday 19 April 2006 12:42:14 am

If some users have trouble using the menu in the sense of they only see a small white space below the menu when they click on the [+] sign, it can be solved by disabling template debug and list of used templates options :)

Paul Forsyth

Wednesday 19 April 2006 1:07:45 am

I havent tried with 3.8 yet :) Are there any errors being reported in the debug?

Siniša Šehović

Wednesday 19 April 2006 1:53:03 am

Hi Paul

No errors in debug just some warnings about missing translation :-)

S.

---
If at first you don't succeed, look in the trash for the instructions.

Paul Forsyth

Wednesday 19 April 2006 3:59:47 am

I'll try to take a look later today :)

Which version of the menu are you using?

Paul

Paul Forsyth

Wednesday 19 April 2006 4:27:28 am

I've checked with 3.8 beta2 and it works as expected. I used the virtual_folders branch to test with.

One thing to watch out for is that with 3.8 in settings/contentstructuremenu.ini the default items shown in the menu are:

ShowClasses[]=folder
ShowClasses[]=forum
ShowClasses[]=gallery
ShowClasses[]=user_group

which is a weird choice to me.

this might explain why you dont see any entries in the menu.

paul

Marc Boon

Thursday 20 April 2006 2:23:45 am

Sebastian wrote:
If some users have trouble using the menu in the sense of they only see a small white space below the menu when they click on the [+] sign, it can be solved by disabling template debug and list of used templates options :)

Thanks a lot for this hint!
Can this be fixed? It's a weird and unexpected dependency that breaks this otherwise great extension.

Paul Forsyth

Thursday 20 April 2006 2:36:51 am

Could you provide steps to allow this issue to be reproduced?

I've just tried and the template debug view explodes all templates which i feel is to be expected. However, i think you must be speaking about something else.

Paul

Marc Boon

Thursday 20 April 2006 2:58:33 am

Problem:
The menu won't show at all in admin/content/browse, e.g. when browsing for adding a related object during edit.
I get an error and a warning:

Error: eZTemplate
No such attribute for array(7): node_id
Choose one of following: navigation_part, path, content, is_default_navigation_part, ui_context, ui_component, uri
Warning: PHP
Undefined variable:  ezcst_unfolded_node_list in D:\WWW\ezpublish\extension\ezodcsm\modules\odcsm\ezodcsmfunctioncollection.php on line 48

Paul Forsyth

Thursday 20 April 2006 3:09:21 am

Which version of the menu are you using?

Marc Boon

Thursday 20 April 2006 3:20:16 am

ezpublish 3.7.4
ezodcsm 1.07

Paul Forsyth

Thursday 20 April 2006 3:24:50 am

Would you able to try the version(s) in svn? The trunk and 'virtual_folders' branch have improvements.

Stig Aune

Thursday 20 April 2006 3:39:14 am

I am a bit confused as to what the difference is between the different branches on svn. Can anyone explain which is what?

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

eZ debug

Timing: Jan 18 2025 11:41:37
Script start
Timing: Jan 18 2025 11:41:37
Module start 'layout'
Timing: Jan 18 2025 11:41:37
Module start 'content'
Timing: Jan 18 2025 11:41:38
Module end 'content'
Timing: Jan 18 2025 11:41:38
Script end

Main resources:

Total runtime0.9731 sec
Peak memory usage4,096.0000 KB
Database Queries138

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.7031152.6406
Module start 'layout' 0.00490.0029 742.343839.9219
Module start 'content' 0.00780.9634 782.2656936.6953
Module end 'content' 0.97120.0018 1,718.960934.2578
Script end 0.9730  1,753.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3659160.0002
Check MTime0.00160.1639160.0001
Mysql Total
Database connection0.00060.065910.0006
Mysqli_queries0.859388.30781380.0062
Looping result0.00140.14601360.0000
Template Total0.944897.120.4724
Template load0.00220.229120.0011
Template processing0.942696.867920.4713
Template load and register function0.00020.016410.0002
states
state_id_array0.00090.095810.0009
state_identifier_array0.00180.188520.0009
Override
Cache load0.00220.22421000.0000
Sytem overhead
Fetch class attribute can translate value0.00060.059780.0001
Fetch class attribute name0.00110.1168240.0000
XML
Image XML parsing0.00260.264680.0003
class_abstraction
Instantiating content class attribute0.00000.0040250.0000
General
dbfile0.00120.1259330.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
20content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
25content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 62
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs