Problems with admin menu

Author Message

pierre oOo

Wednesday 25 June 2008 10:46:01 am

Hi,

i want to see in the admin interface menu, a new class I created ("copy_of_frontpage").

I modified contentstructuremenu.ini.append.php in my siteaccess settings but it doesn't work !

<?php /* #?ini charset="utf-8"?

[TreeMenu]
Dynamic=enabled

ShowClasses[]
ShowClasses[]=folder
ShowClasses[]=user_group
ShowClasses[]=documentation_page
ShowClasses[]=event_calender
ShowClasses[]=frontpage
ShowClasses[]=forums
ShowClasses[]=copy_of_frontpage

*/ ?>

Is there another setting to modify ?

Pierre

Ivo Lukac

Wednesday 25 June 2008 11:06:55 am

Hi Pierre,

Did you clear the ini and dynamic tree cache?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

pierre oOo

Friday 27 June 2008 7:08:31 am

hi, thank for your reply.

I did ! I always clear the caches !

I also erased all my var/ directory to see what's happened..
It was an error, I lost all my images...

I think there's another file to modify, but which one and where ???

I tested also, which is not recommended, to write into contentstructuremenu.ini in "settings/"
directory...
i wrote the same code in the "ShowClasses[]" attributes. (like my first message)

May be this is a template problem ?

....

Ivo Lukac

Friday 27 June 2008 9:22:51 am

When you have such problems first you must see what eZ sees. Go to Setup->Ini settings, choose contentstructuremenu.ini file and your admin siteaccess. Clicking on "Select" button you will get ini settings which are used.

If copy_of_frontpage is there then the problem is with some cache, if not you didn't set it right.

Greetz

ps.
try to disable Dynamic value and see what happens

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

pierre oOo

Wednesday 02 July 2008 7:02:43 am

Hi,

It's Ok now,

in the admin interface, there wasn't copy_of_frontpage in content of contentstructure.ini .
But it was in the file !

I just made a simple modification in contentstructure.ini from the admin interface, and everthing were there again !
It was just a cache problem...

Many thanks for yours answers..

see you.
Pierre

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 15:09:18
Script start
Timing: Jan 18 2025 15:09:18
Module start 'layout'
Timing: Jan 18 2025 15:09:18
Module start 'content'
Timing: Jan 18 2025 15:09:19
Module end 'content'
Timing: Jan 18 2025 15:09:19
Script end

Main resources:

Total runtime1.1452 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0169 589.0469152.6250
Module start 'layout' 0.01690.0042 741.671939.4453
Module start 'content' 0.02111.1228 781.1172566.4297
Module end 'content' 1.14390.0013 1,347.546912.1641
Script end 1.1452  1,359.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.4098160.0003
Check MTime0.00160.1379160.0001
Mysql Total
Database connection0.00280.246910.0028
Mysqli_queries1.062792.7933630.0169
Looping result0.00080.0657610.0000
Template Total1.090595.220.5452
Template load0.00190.167420.0010
Template processing1.088595.049720.5443
Template load and register function0.00020.013710.0002
states
state_id_array0.00100.086110.0010
state_identifier_array0.00290.252320.0014
Override
Cache load0.00170.1470520.0000
Sytem overhead
Fetch class attribute can translate value0.00050.044420.0003
Fetch class attribute name0.00240.207360.0004
XML
Image XML parsing0.00070.063920.0004
class_abstraction
Instantiating content class attribute0.00000.002370.0000
General
dbfile0.00210.1834170.0001
String conversion0.00000.000940.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs