Toolbar right issue

Author Message

Mariusz Scisel

Monday 13 February 2006 5:27:55 am

I need some help with toolbar right.
Maybe someone knows, how to count number of Tool_right with parameter set to "show_subtree=103" in toolbar.ini.

toolbar.ini

[Tool_right_node_list_1]
parent_node=102
show_subtree=102

[Tool_right_node_list_2]
parent_node=102
show_subtree=103

[Tool_right_node_list_3]
parent_node=120
show_subtree=103

this is for the test similar to:

{section show=ezini('Toolbar_right','Tool','toolbar.ini')|count|eq(0)}
{/section}

but this return result if any Tools are set or not.

Thanks for any sugestions.

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

Main resources:

Total runtime0.7882 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.0047 587.9063152.6250
Module start 'layout' 0.00470.0035 740.531339.4297
Module start 'content' 0.00820.7787 779.9609401.8125
Module end 'content' 0.78680.0013 1,181.77348.3438
Script end 0.7881  1,190.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3846160.0002
Check MTime0.00130.1616160.0001
Mysql Total
Database connection0.00070.094110.0007
Mysqli_queries0.752995.5256460.0164
Looping result0.00030.0438440.0000
Template Total0.761196.620.3806
Template load0.00210.264520.0010
Template processing0.759096.299420.3795
Template load and register function0.00010.015210.0001
states
state_id_array0.00090.112810.0009
state_identifier_array0.00060.075220.0003
Override
Cache load0.00170.2107110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.065610.0005
Fetch class attribute name0.00050.057210.0005
XML
Image XML parsing0.00010.013110.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.0796100.0001
String conversion0.00000.000840.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
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
2content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs