TemplateCompile=enabled problems

Author Message

Martin Ulrich

Friday 21 January 2005 10:17:21 am

I'd like to use TemplateCompile=enabled, because much faster. But if is enable, the productcount {$product_item.item_count} in basket.tpl does'nt work properly.
(the form input field was not updated correct, when store quantities)

How can I solve this. Is there a way to disable TemplateCompile for some templates? means exclude some templates from compiling.

Or write some code in template for prevent compiling?

or something else ...

now I compile my thread:
:-)

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Balazs Halasy

Saturday 22 January 2005 12:41:55 am

Hello there,

Which version of eZ publish are you using? This sounds very much like a bug. Please test again and if you're at least 80% certain that you're doing everything right: report it as a bug. Thanks.

Allman

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 00:14:53
Script start
Timing: Jan 19 2025 00:14:53
Module start 'layout'
Timing: Jan 19 2025 00:14:53
Module start 'content'
Timing: Jan 19 2025 00:14:54
Module end 'content'
Timing: Jan 19 2025 00:14:54
Script end

Main resources:

Total runtime0.7478 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.0062 587.9375152.6250
Module start 'layout' 0.00620.0034 740.562539.4453
Module start 'content' 0.00970.7366 780.0078521.7969
Module end 'content' 0.74620.0015 1,301.80478.1563
Script end 0.7478  1,309.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4896160.0002
Check MTime0.00170.2299160.0001
Mysql Total
Database connection0.00090.114510.0009
Mysqli_queries0.706194.4194540.0131
Looping result0.00050.0722520.0000
Template Total0.716195.820.3580
Template load0.00190.258120.0010
Template processing0.714195.497820.3571
Template load and register function0.00010.014410.0001
states
state_id_array0.00100.128610.0010
state_identifier_array0.00080.102920.0004
Override
Cache load0.00150.2039150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.070120.0003
Fetch class attribute name0.00110.146130.0004
XML
Image XML parsing0.00080.106220.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00070.0990160.0000
String conversion0.00000.004440.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/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs