Attribute(show) NOT as html

Author Message

HÃ¥vard Bergersen

Tuesday 13 April 2010 4:38:19 am

{$node|attribute(show,2,false())}

Just in case anyone was wondering! :)

Gaetano Giunta

Tuesday 13 April 2010 4:46:40 am

http://projects.ez.no/ezdebug_template_operator and http://projects.ez.no/ggxmlview/news/ggxmlview_0_2_released are your friends, too...

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Tuesday 13 April 2010 5:09:30 am

And also the undocumented, yet existing since years ago :

{debug-log var=$myVar msg='hello, i am dumping $myVar, watch out'}

dumps the var in the debug output.

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 02:07:21
Script start
Timing: Jan 18 2025 02:07:21
Module start 'layout'
Timing: Jan 18 2025 02:07:21
Module start 'content'
Timing: Jan 18 2025 02:07:22
Module end 'content'
Timing: Jan 18 2025 02:07:22
Script end

Main resources:

Total runtime1.3652 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.0050 589.0313152.6250
Module start 'layout' 0.00500.0024 741.656339.4453
Module start 'content' 0.00741.3566 781.1016581.3906
Module end 'content' 1.36400.0012 1,362.492212.1641
Script end 1.3652  1,374.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2210160.0002
Check MTime0.00120.0911160.0001
Mysql Total
Database connection0.00070.053510.0007
Mysqli_queries1.319796.6657590.0224
Looping result0.00060.0424570.0000
Template Total1.332497.620.6662
Template load0.00220.163820.0011
Template processing1.330197.427220.6651
Template load and register function0.00010.009710.0001
states
state_id_array0.00030.024510.0003
state_identifier_array0.00250.183220.0013
Override
Cache load0.00180.1319150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.037330.0002
Fetch class attribute name0.00090.068560.0002
XML
Image XML parsing0.00140.103230.0005
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00100.0738280.0000
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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs