custom template operator problem

Author Message

Anton Shishkin

Tuesday 26 October 2004 10:34:19 pm

We developed some custom template operators for eZPublish 3.4-2. They working fine in pagelayout.tpl template, but do not return result in other template files (result is empty).

What could be wrong?

Silke Fox

Thursday 28 October 2004 1:53:24 am

Could you provide more details? Code snippets?

Any information in debug output?

silke

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

Main resources:

Total runtime0.8659 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 589.3516152.6250
Module start 'layout' 0.00840.0034 741.976639.4453
Module start 'content' 0.01180.8525 781.4219450.7734
Module end 'content' 0.86440.0015 1,232.19538.1563
Script end 0.8658  1,240.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4005160.0002
Check MTime0.00140.1632160.0001
Mysql Total
Database connection0.00130.153010.0013
Mysqli_queries0.822594.9925540.0152
Looping result0.00050.0626520.0000
Template Total0.832096.120.4160
Template load0.00240.279820.0012
Template processing0.829595.804020.4148
Template load and register function0.00020.021010.0002
states
state_id_array0.00090.100610.0009
state_identifier_array0.00080.086720.0004
Override
Cache load0.00190.222590.0002
Sytem overhead
Fetch class attribute can translate value0.00050.060320.0003
Fetch class attribute name0.00110.125420.0005
XML
Image XML parsing0.00040.042720.0002
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0810100.0001
String conversion0.00000.001340.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs