Different Values for show-subtree in toolbar.ini.append.php

Author Message

John Smith

Tuesday 04 March 2008 6:14:28 am

Hi there,

Hope someone can help me. In ezpublish 3.6.1 I have created a calender from Design-> toolbar management and it appears in the right column of the website. Checked the toolbar.ini.append.php which is in /settings/siteaccess/<name>/toolbar.ini.append.php

[Tool_right_calendar_3]
show_subtree=events
show_classidentifiers=events_article

Now in ezpublish4.0.0 I have created the same thing and the values are as below:

[Tool_right_calendar_3]
show_subtree=65
show_classidentifiers=events_article

The difference is the value of "show_subtree" which i am getting in ezpublish 4.0. In the way the code which i have written for 3.6.1 is totally broken when I am upgrading to 4.0.

Is there is any solution to this proble obviously without changing the code. Otherwise sites will break after upgradation.

Please help.

Smith

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 19 2025 10:47:21
Script start
Timing: Jan 19 2025 10:47:21
Module start 'layout'
Timing: Jan 19 2025 10:47:21
Module start 'content'
Timing: Jan 19 2025 10:47:22
Module end 'content'
Timing: Jan 19 2025 10:47:22
Script end

Main resources:

Total runtime1.1027 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.6406152.6875
Module start 'layout' 0.00540.0045 742.328139.5234
Module start 'content' 0.00991.0912 781.8516402.4063
Module end 'content' 1.10110.0016 1,184.25788.0781
Script end 1.1027  1,192.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2889160.0002
Check MTime0.00130.1219160.0001
Mysql Total
Database connection0.00090.078710.0009
Mysqli_queries1.059996.1142460.0230
Looping result0.00050.0489440.0000
Template Total1.070897.120.5354
Template load0.00180.165620.0009
Template processing1.069096.944620.5345
Template load and register function0.00030.025210.0003
states
state_id_array0.00100.090310.0010
state_identifier_array0.00120.108320.0006
Override
Cache load0.00150.1358160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.067810.0007
Fetch class attribute name0.00070.061710.0007
XML
Image XML parsing0.00020.015210.0002
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0623100.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs