Content structure: Containers don't expand

Author Message

cousin mosquito

Wednesday 27 January 2010 5:06:16 pm

I currently have 4 servers running Ezpublish 4.1.3


On all but one of these servers the content structure containers wont expand to show the articles living inside them.

I have looked at all the responses in your forum and I am not seeing any answers.
Its not an upgrade, its a clean install.

I have checked the /settings/contentstructuremenu.ini file between the working and the non-working sites. They are identical.
My browsers all have java script enabled.
I have enabled dynamic tree menu in the above file.

I have added the following to settings/siteaccess/admin/site.ini.append.php

[TemplateSettings]
DevelopmentMode=enabled
Debug=enabled
ShowXHTMLCode=enabled
ShowUsedTemplates=enabled

I have firebug running.

I am not seeing any errors.

Can anyone tell me what else I can do to find out why the containers wont expand to show the content inside them?

Asking the dumb questions for your benefit

André R.

Thursday 04 February 2010 12:51:48 pm

It's using ajax calls to content/treemenu/<id> to get the content of the containers, use firebug to see if the call is: 1. done, 2. taht it is not blocked (http: 200 OK) and 3 the response of the call.

If 1 fails, then I don't know, if 2 fails, then it is most likely rewrite rules for index_treemenu.php that fails, if 3 fails, then the repsonse should give you a hint.

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

cousin mosquito

Monday 19 April 2010 4:14:50 pm

Ok, here I go answering my own questions again.

The reason the article classes down show up in the left hand menu on the admin menu is because thats the way the default install goes.

Go to: /settings/siteacess/ezwebin_site_admin/contentstructuremenu.ini.append.php

 

Add: ShowClasses[]=article

 [TreeMenu]
Dynamic=enabled
ShowClasses[]
<span>ShowClasses[]=article</span>
ShowClasses[]=folder
ShowClasses[]=user_group
ShowClasses[]=documentation_page
ShowClasses[]=event_calender
ShowClasses[]=frontpage
ShowClasses[]=forums
*/ ?>

Asking the dumb questions for your benefit

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 02:54:50
Script start
Timing: Jan 18 2025 02:54:50
Module start 'layout'
Timing: Jan 18 2025 02:54:50
Module start 'content'
Timing: Jan 18 2025 02:54:50
Module end 'content'
Timing: Jan 18 2025 02:54:50
Script end

Main resources:

Total runtime0.5297 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.2813152.6563
Module start 'layout' 0.00550.0025 741.937539.4922
Module start 'content' 0.00810.5204 781.4297550.5234
Module end 'content' 0.52850.0012 1,331.953112.1250
Script end 0.5297  1,344.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.6142160.0002
Check MTime0.00130.2470160.0001
Mysql Total
Database connection0.00060.122510.0006
Mysqli_queries0.471689.0168570.0083
Looping result0.00060.1081550.0000
Template Total0.504895.320.2524
Template load0.00170.314920.0008
Template processing0.503194.971520.2516
Template load and register function0.00010.025910.0001
states
state_id_array0.00030.058110.0003
state_identifier_array0.00070.136720.0004
Override
Cache load0.00150.2748400.0000
Sytem overhead
Fetch class attribute can translate value0.00050.090820.0002
Fetch class attribute name0.00180.340250.0004
XML
Image XML parsing0.00210.392720.0010
class_abstraction
Instantiating content class attribute0.00000.003260.0000
General
dbfile0.00180.3452230.0001
String conversion0.00000.001440.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 14
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs