My class in Admin content structure menu

Author Message

Ivan Švogor

Friday 26 November 2010 1:35:32 am

Hello...

I've created a custom class, added it to contentstructuremenu.ini.append.php and to menu.ini.append.php but it doesn't show... Am I missing something?

Romeo Antony

Friday 26 November 2010 2:02:13 am

Ivan,

probably you have missed something.

Seems to be overriding issue.

Check the configaration priority order

setting=>siteaccesssetting=>oveeride

If you have made chages to configuarion files in root settings directory, is will be overriden by siteaccesssetting followed by override config files.

So make sure that you do configuarion settigs is done in siteaccesssetting.(for contentstructuremenu.ini.append.php and to menu.ini.append.php)

Second thing is

for insctace , in contentstructuremenu.ini.append.php, if you have seeting like

[TreeMenu]

ShowClasses[]
ShowClasses[]=folder

that means , all the setting with respect to contentstructuremenu.ini.append.php in extensions , will be considered .If you have any shows classes array in extensions contentstructuremenu.ini.append.php, it will be also added.

Otherwise ,if the configuration like as follows

[TreeMenu]

ShowClasses[]=folder

Only this configuarion files will be considred ,bez it will not take any previous array values.(since u didn't put ShowClasses[],only class folder will be der)

So please check both conditions.

Nicolas Pastorino

Monday 29 November 2010 1:31:25 am

Hi Ivan,

Could you get any further, helped by Romeo ?
Have you cleared the Back office's cache ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 05:01:53
Script start
Timing: Jan 18 2025 05:01:53
Module start 'layout'
Timing: Jan 18 2025 05:01:53
Module start 'content'
Timing: Jan 18 2025 05:01:55
Module end 'content'
Timing: Jan 18 2025 05:01:55
Script end

Main resources:

Total runtime1.4026 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 591.6797152.6406
Module start 'layout' 0.00770.0032 744.320339.4844
Module start 'content' 0.01101.3899 783.8047575.8516
Module end 'content' 1.40090.0017 1,359.656312.1250
Script end 1.4026  1,371.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2392160.0002
Check MTime0.00140.1012160.0001
Mysql Total
Database connection0.00060.042710.0006
Mysqli_queries1.339795.5144590.0227
Looping result0.00080.0536570.0000
Template Total1.362697.120.6813
Template load0.00290.208020.0015
Template processing1.359696.937720.6798
Template load and register function0.00020.012610.0002
states
state_id_array0.00330.237010.0033
state_identifier_array0.00200.141820.0010
Override
Cache load0.00260.1828310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.048530.0002
Fetch class attribute name0.00170.118550.0003
XML
Image XML parsing0.00160.113630.0005
class_abstraction
Instantiating content class attribute0.00000.000850.0000
General
dbfile0.00350.2481220.0002
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6

Time used to render debug report: 0.0001 secs