override datatype templates

Author Message

andre müller

Thursday 23 October 2003 12:24:07 am

how do i override datatype templates for certain classes? is it at all possible? i tried by putting a ezurl_class_28 file in the mydesign/content/datatype/view folder ? no result.

Tore Skobba

Thursday 23 October 2003 2:38:33 am

Hmm "mydesign/content/datatype/view" will not work, at least it must be in the templates folder, i.e. mydesign/templates/content/datatype/view. This is working fine for me as I in "mydesign/templates/content/datatype/edit" has an customized "ezuser.tpl". Note the name of the customized datatype is still the same. I do not now if this is correct but it works:)

cheers

andre müller

Thursday 23 October 2003 7:27:15 am

thanks a lot tore. you're of course right: i had the wrong path..

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 16:24:00
Script start
Timing: Jan 18 2025 16:24:00
Module start 'layout'
Timing: Jan 18 2025 16:24:00
Module start 'content'
Timing: Jan 18 2025 16:24:01
Module end 'content'
Timing: Jan 18 2025 16:24:01
Script end

Main resources:

Total runtime0.6242 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 589.3438152.6250
Module start 'layout' 0.00880.0037 741.968839.4453
Module start 'content' 0.01250.6105 781.4141464.1719
Module end 'content' 0.62300.0011 1,245.58598.1641
Script end 0.6242  1,253.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5881160.0002
Check MTime0.00140.2315160.0001
Mysql Total
Database connection0.00160.255710.0016
Mysqli_queries0.579292.7920570.0102
Looping result0.00040.0716550.0000
Template Total0.588294.220.2941
Template load0.00280.444320.0014
Template processing0.585493.791820.2927
Template load and register function0.00020.026910.0002
states
state_id_array0.00100.158310.0010
state_identifier_array0.00090.139720.0004
Override
Cache load0.00210.341190.0002
Sytem overhead
Fetch class attribute can translate value0.00100.153620.0005
Fetch class attribute name0.00110.173930.0004
XML
Image XML parsing0.00030.053720.0002
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.1202100.0001
String conversion0.00000.001940.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/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
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: 4

Time used to render debug report: 0.0001 secs