Share » Forums » Install & configuration » Content structure: Containers don't...

Content structure: Containers don't expand

Content structure: Containers don't expand

Monday 14 January 2008 3:26:17 am - 8 replies

Modified on Monday 14 January 2008 3:27:04 am by Arno Lehmann

Author Message

André R.

Monday 14 January 2008 3:37:12 am

If you use a browser that has a javascript debugger / console, you probably see a javascript error saying something like 'ClassId' not defined, then you need to clear some cache (template / template cache / contenttree menu / content).

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

Arno Lehmann

Monday 14 January 2008 3:47:05 am

Thanks for the idea, but unfortunately no useful result... it only complains about an unknown css property.

But I noticed that your site's css has even more problems :-)

Arno

André R.

Monday 14 January 2008 4:35:18 am

my site? your talking about your site running the eZ Publish admin design?? :)

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

Arno Lehmann

Monday 14 January 2008 4:43:54 am

No, in this case I'm referring to the css used on ez.no, i.e. these forums :-)

Like this one:

Warnung: Fehler beim Verarbeiten des Wertes für Eigenschaft 'white-space'.  Deklaration ignoriert.
Quelldatei: http://ez.no/extension/ezno2005/design/ezno2005/stylesheets/classes.css
Zeile: 1625

I guess if I had access to your designs I wouldn't have had to struggle through creating my pwn templates, etc ;-)

Arno

Arno Lehmann

Friday 18 January 2008 3:22:05 am

Any ideas regarding the original problem, anyone?

Luke Barton

Sunday 20 January 2008 6:35:04 pm

Arno,

Some things to try when debugging:

1. Turn on debug output for the admin site access (site.ini.append.php). Enabled TemplateDebug and ShowXHTML code. Enable ShowUsedTemplates (this will provide a list of used templates at the bottom of the page.)

http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files/site_ini/debugsettings
http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files/site_ini/templatesettings

2. Then, view the source code. You should see what templates are being called at what point in the code. This will help you learn your way around a bit.

3. Review ini settings, specifically these (contentstructuremenu.ini):

http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files/contentstructuremenu_ini
http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files/contentstructuremenu_ini/treemenu/showclasses

4. A good source of ini documentation can be found in the comments in the default ini files in your installation (/settings/some_ini_file.ini).

5. TreeMenu stuff:
http://ez.no/developer/forum/developer/ajax_treemenu_ezodcsm_extension_discussion

Good luck.

-Luke

Arno Lehmann

Friday 07 March 2008 3:11:01 am

Hi again,

sorry this took me song long - I was quite busy with more important stuff, unfortunately.

Ok... thanks for the suggestion, Luke.

This is what I did:

The template looks ok - it's the one provided by ez. I verified that, on another site operated by the same apache / php setup, the contents tree worked as expected. A diff between the files used - i.e. the contents of the design/standard/templates/contentstructuremenu/ directories - revealed the files are identical.

I had a look both at the generated HTML output and the template files themselves, but must admit I don't understand all I saw. At least the HTML and the template file seem consistent, so I'm quite sure I use the correct template.

The contentstructuremenu.ini has all the classes I use, though currently I'm a bit unsure if the site overrides are correct in all cases. As I'm only seeing ezwebin_site_admin in the URL, I'm quite sure the corresponding ini file is applied, and that one looks ok to me. At least it holds all the classes we use.

Interestingly, switching to the JavaScript-driven dynamic menu now works, so I'll leave that on and can reasonably work with it.

Thank you all for your support, and if someone wants to dive into it I'll happily provide more information!

Arno

David P

Monday 21 July 2008 2:12:50 am

I've the same (?) "bug" in all my Ez-publish 4.0.
Did you resolved this bug ?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu